fix: Crash when restarting ImHex more than once

This commit is contained in:
WerWolv
2024-02-19 22:06:46 +01:00
parent 218946d5de
commit adc51d3773
5 changed files with 42 additions and 15 deletions

View File

@@ -80,6 +80,7 @@ namespace hex::init {
log::fatal("To the person fixing this, read the comment above this message for more information.");
});
ImHexApi::System::impl::cleanup();
EventImHexClosing::post();
EventManager::clear();