1
0
Fork 0

Merge pull request #113815 from aaronp64/project_manager_cleanup_plugins

Clean up editor inspector plugins when closing Project Manager
This commit is contained in:
Thaddeus Crews 2025-12-10 18:10:24 -06:00
commit dea2fea0bc
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@
#include "editor/gui/editor_file_dialog.h"
#include "editor/gui/editor_title_bar.h"
#include "editor/gui/editor_version_button.h"
#include "editor/inspector/editor_inspector.h"
#include "editor/project_manager/engine_update_label.h"
#include "editor/project_manager/project_dialog.h"
#include "editor/project_manager/project_list.h"
@ -1944,6 +1945,7 @@ ProjectManager::ProjectManager() {
ProjectManager::~ProjectManager() {
singleton = nullptr;
EditorInspector::cleanup_plugins();
if (EditorSettings::get_singleton()) {
EditorSettings::destroy();
}