1
0
mirror of synced 2025-01-11 05:42:15 +01:00

fix: Deinitialization order

This commit is contained in:
WerWolv 2024-12-15 21:44:36 +01:00
parent b8ba980a20
commit 721164e562

View File

@ -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);