easy fix of the web error crash !!! (not rly)

This commit is contained in:
altalk23 2023-11-21 21:20:06 +03:00
parent df3979fe46
commit 164185621e

View file

@ -781,7 +781,11 @@ void Index::Impl::installNext(size_t index, IndexInstallList const& list) {
item->setIsInstalled(true);
// Install next item in queue
this->installNext(index + 1, list);
// this is in next frame cause otherwise
// it seems to deadlock and havent figured out why
Loader::get()->queueInMainThread([&]{
this->installNext(index + 1, list);
});
})
.expect([postError, list, item](std::string const& err) {
postError(fmt::format(