1
0
mirror of synced 2024-11-24 07:40:17 +01:00

fix: Crash on exit

This commit is contained in:
WerWolv 2022-02-04 00:47:39 +01:00
parent 618eead341
commit f9668f4ba6

View File

@ -163,7 +163,9 @@ namespace hex::init {
}
bool deleteSharedData() {
ImHexApi::System::getInitArguments().clear();
ImHexApi::Tasks::getDeferredCalls().clear();
ImHexApi::HexEditor::getHighlights().clear();
while (ImHexApi::Provider::isValid())
ImHexApi::Provider::remove(ImHexApi::Provider::get());