mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-12 05:07:15 +03:00
a610d9a3d1
If the Threading::BackgroundAction for filesystem indexing in FileProvider hadn't finished by the time the main thread exited, it would still try to access the FileProvider object that lived in the main thread, thereby causing a segfault and crashing. This commit prevents FileProvider from being destroyed while the background thread is still running by giving the background thread a strong reference to its FileProvider. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
FuzzyMatch.cpp | ||
FuzzyMatch.h | ||
main.cpp | ||
Providers.cpp | ||
Providers.h |