Browse Source

Merge pull request #93558 from kitbdev/fix-exit-plugin-crash

Fix crash on exit with shader editor
Rémi Verschelde 1 year ago
parent
commit
dc4085060b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/editor_node.cpp

+ 2 - 0
editor/editor_node.cpp

@@ -679,6 +679,8 @@ void EditorNode::_notification(int p_what) {
 		} break;
 
 		case NOTIFICATION_EXIT_TREE: {
+			singleton->active_plugins.clear();
+
 			if (progress_dialog) {
 				progress_dialog->queue_free();
 			}