Fixed plugin unloading segfault

This commit is contained in:
WerWolv
2021-01-12 16:56:14 +01:00
parent 84a6fff034
commit 8ae15abb85
2 changed files with 2 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ namespace hex {
for (auto &view : ContentRegistry::Views::getEntries())
delete view;
ContentRegistry::Views::getEntries().clear();
this->deinitPlugins();
}
void Window::loop() {