fix: Crash on exit
This commit is contained in:
parent
618eead341
commit
f9668f4ba6
@ -163,7 +163,9 @@ namespace hex::init {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool deleteSharedData() {
|
bool deleteSharedData() {
|
||||||
|
ImHexApi::System::getInitArguments().clear();
|
||||||
ImHexApi::Tasks::getDeferredCalls().clear();
|
ImHexApi::Tasks::getDeferredCalls().clear();
|
||||||
|
ImHexApi::HexEditor::getHighlights().clear();
|
||||||
|
|
||||||
while (ImHexApi::Provider::isValid())
|
while (ImHexApi::Provider::isValid())
|
||||||
ImHexApi::Provider::remove(ImHexApi::Provider::get());
|
ImHexApi::Provider::remove(ImHexApi::Provider::get());
|
||||||
|
Loading…
Reference in New Issue
Block a user