mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
sys: Explicitly delete views so destructors get called properly
This commit is contained in:
@@ -162,6 +162,10 @@ namespace hex {
|
||||
this->deinitGLFW();
|
||||
ContentRegistry::Settings::store();
|
||||
|
||||
for (auto &view : SharedData::views)
|
||||
delete view;
|
||||
SharedData::views.clear();
|
||||
|
||||
this->deinitPlugins();
|
||||
|
||||
EventManager::unsubscribe(Events::SettingsChanged, this);
|
||||
|
||||
Reference in New Issue
Block a user