fix: Deinitialization order
This commit is contained in:
parent
b8ba980a20
commit
721164e562
@ -27,14 +27,13 @@
|
||||
handleFileOpenRequest();
|
||||
}
|
||||
|
||||
// Clean up everything after the main window is closed
|
||||
ON_SCOPE_EXIT {
|
||||
deinitializeImHex();
|
||||
};
|
||||
|
||||
// Main window
|
||||
{
|
||||
Window window;
|
||||
window.loop();
|
||||
}
|
||||
|
||||
deinitializeImHex();
|
||||
|
||||
} while (shouldRestart);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user