i cant wait to get rid of this

This commit is contained in:
altalk23 2024-01-27 18:22:33 +03:00
parent d4d4370cb9
commit e81b5e9f9b
3 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,8 @@
# Geode Changelog # Geode Changelog
## v2.0.0-beta.10
*
## v2.0.0-beta.9 ## v2.0.0-beta.9
* Make the index population async as well (3b3e174) * Make the index population async as well (3b3e174)
* Run Android file callbacks on main thread (79d9184) * Run Android file callbacks on main thread (79d9184)

View file

@ -1 +1 @@
2.0.0-beta.9 2.0.0-beta.10

View file

@ -403,7 +403,9 @@ void Index::Impl::checkForUpdates() {
// make sure the downloaded local copy actually exists // make sure the downloaded local copy actually exists
ghc::filesystem::exists(dirs::getIndexDir() / "v0" / "config.json") ghc::filesystem::exists(dirs::getIndexDir() / "v0" / "config.json")
) { ) {
std::thread([this](){
this->updateFromLocalTree(); this->updateFromLocalTree();
}).detach();
} }
// otherwise save hash and download source // otherwise save hash and download source
else { else {