Fixed multiple memory leaks

This commit is contained in:
WerWolv
2021-02-01 20:07:57 +01:00
parent d69eee55dd
commit 83bbde8d29
3 changed files with 4 additions and 1 deletions

View File

@@ -193,6 +193,8 @@ namespace hex {
}
ViewPattern::~ViewPattern() {
delete this->m_patternLanguageRuntime;
View::unsubscribeEvent(Events::ProjectFileStore);
View::unsubscribeEvent(Events::ProjectFileLoad);
}