You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
fix missing cleanup and null checks for various singletons
This commit is contained in:
@@ -3537,7 +3537,7 @@ void EditorNode::add_extension_editor_plugin(const StringName &p_class_name) {
|
||||
|
||||
void EditorNode::remove_extension_editor_plugin(const StringName &p_class_name) {
|
||||
// If we're exiting, the editor plugins will get cleaned up anyway, so don't do anything.
|
||||
if (singleton->exiting) {
|
||||
if (!singleton || singleton->exiting) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user