From 53afa6ea430bfe1c1bba0e66b5530773e9b4acc4 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 20 Mar 2023 15:18:48 +0100 Subject: [PATCH] fix: Crash on exit --- main/source/init/tasks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/source/init/tasks.cpp b/main/source/init/tasks.cpp index baf446eb0..71e80ace0 100644 --- a/main/source/init/tasks.cpp +++ b/main/source/init/tasks.cpp @@ -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();