ladybird/Userland/Applications/Assistant
Rummskartoffel a610d9a3d1 Assistant: Fix crash in FileProvider background thread upon exit
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.
2022-01-15 21:45:03 +01:00
..
CMakeLists.txt Userland: Link directly against LibUnicodeData where needed 2021-12-30 14:18:12 +01:00
FuzzyMatch.cpp Assistant: Fix adding sequential bonus in Fuzzy Match 2021-10-25 13:00:32 +02:00
FuzzyMatch.h Assistant: Make strings const referenced 2021-10-25 13:00:32 +02:00
main.cpp Assistant: Make Provider ref-counted 2022-01-15 21:45:03 +01:00
Providers.cpp Assistant: Fix crash in FileProvider background thread upon exit 2022-01-15 21:45:03 +01:00
Providers.h Assistant: Make Provider ref-counted 2022-01-15 21:45:03 +01:00