|
@@ -164,7 +164,7 @@ void FileProvider::build_filesystem_cache()
|
|
m_work_queue.enqueue("/");
|
|
m_work_queue.enqueue("/");
|
|
|
|
|
|
(void)Threading::BackgroundAction<int>::construct(
|
|
(void)Threading::BackgroundAction<int>::construct(
|
|
- [this](auto&) {
|
|
|
|
|
|
+ [this, strong_ref = NonnullRefPtr(*this)](auto&) {
|
|
String slash = "/";
|
|
String slash = "/";
|
|
auto timer = Core::ElapsedTimer::start_new();
|
|
auto timer = Core::ElapsedTimer::start_new();
|
|
while (!m_work_queue.is_empty()) {
|
|
while (!m_work_queue.is_empty()) {
|