소스 검색

Fix crash on exit with shader editor

kit 1 년 전
부모
커밋
da55b6a01c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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();
 			}