diff --git a/src/app.cpp b/src/app.cpp index 07ce0109c..f1cd7e9b9 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -297,12 +297,17 @@ int App::run() // Run the GUI main message loop gui_run(); + // Uninstall support to drop files uninstall_drop_files(); // Remove the root-menu from the menu-bar (because the rootmenu // module should destroy it). menubar->setMenu(NULL); + // Delete all editors first because they used signals from other + // widgets (e.g. color bar). + jwidget_free(box_editors); + // Destroy the top-window jwidget_free(top_window); top_window = NULL;