fix: Crash on exit

This commit is contained in:
WerWolv
2023-03-20 15:18:48 +01:00
parent a182e8daf2
commit 53afa6ea43

View File

@@ -239,6 +239,7 @@ namespace hex::init {
ContentRegistry::Settings::getSettingsData().clear();
ContentRegistry::CommandPaletteCommands::getEntries().clear();
ContentRegistry::CommandPaletteCommands::getHandlers().clear();
ContentRegistry::PatternLanguage::getFunctions().clear();
ContentRegistry::PatternLanguage::getPragmas().clear();