mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
easy fix of the web error crash !!! (not rly)
This commit is contained in:
parent
df3979fe46
commit
164185621e
1 changed files with 5 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue