fix: Crashes when resizing file

Fixes #721
This commit is contained in:
WerWolv
2022-09-04 11:16:20 +02:00
parent 45e987b413
commit d9a47fe815
13 changed files with 27 additions and 25 deletions

View File

@@ -273,7 +273,7 @@ namespace hex::plugin::builtin::prv {
}
});
return Provider::open();
return true;
} else {
return false;
}
@@ -285,8 +285,6 @@ namespace hex::plugin::builtin::prv {
if (this->m_cacheUpdateThread.joinable()) {
this->m_cacheUpdateThread.join();
}
Provider::close();
}
bool GDBProvider::isConnected() const {