Explorar o código

Merge pull request #41609 from neikeq/editor-debugger-plugin-uninitialized

Fix crash because of initialized EditorDebuggerPlugin field
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
cdf845d3ca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/plugins/editor_debugger_plugin.h

+ 1 - 1
editor/plugins/editor_debugger_plugin.h

@@ -39,7 +39,7 @@ class EditorDebuggerPlugin : public Control {
 	GDCLASS(EditorDebuggerPlugin, Control);
 
 private:
-	ScriptEditorDebugger *debugger;
+	ScriptEditorDebugger *debugger = nullptr;
 
 	void _breaked(bool p_really_did, bool p_can_debug);
 	void _started();