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