Explorar o código

Fix crash on exit with shader editor

kit hai 1 ano
pai
achega
da55b6a01c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();
 			}