Pārlūkot izejas kodu

Fix crash because of initialized EditorDebuggerPlugin field

Ignacio Etcheverry 5 gadi atpakaļ
vecāks
revīzija
b89ba85f6f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
 	GDCLASS(EditorDebuggerPlugin, Control);
 
 
 private:
 private:
-	ScriptEditorDebugger *debugger;
+	ScriptEditorDebugger *debugger = nullptr;
 
 
 	void _breaked(bool p_really_did, bool p_can_debug);
 	void _breaked(bool p_really_did, bool p_can_debug);
 	void _started();
 	void _started();