mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
fix: Deinitialization order
This commit is contained in:
@@ -27,14 +27,13 @@
|
||||
handleFileOpenRequest();
|
||||
}
|
||||
|
||||
// Clean up everything after the main window is closed
|
||||
ON_SCOPE_EXIT {
|
||||
deinitializeImHex();
|
||||
};
|
||||
|
||||
// Main window
|
||||
Window window;
|
||||
window.loop();
|
||||
{
|
||||
Window window;
|
||||
window.loop();
|
||||
}
|
||||
|
||||
deinitializeImHex();
|
||||
|
||||
} while (shouldRestart);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user