diff --git a/main/source/init/tasks.cpp b/main/source/init/tasks.cpp index a7a9e7e4e..a439ae463 100644 --- a/main/source/init/tasks.cpp +++ b/main/source/init/tasks.cpp @@ -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());