summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-08-30 12:01:03 +0200
committerGitHub <noreply@github.com>2020-08-30 12:01:03 +0200
commitcdf845d3cad3c73a67c36e8f58c2b2e231059a17 (patch)
tree91214752b1db843b43ee92a7974d93df347ec162
parentf10c3810bb0abfa18b1a579ee927f460bf191b6d (diff)
parentb89ba85f6f32642998f2c898191c5158a52b57f2 (diff)
Merge pull request #41609 from neikeq/editor-debugger-plugin-uninitialized
Fix crash because of initialized EditorDebuggerPlugin field
-rw-r--r--editor/plugins/editor_debugger_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/editor_debugger_plugin.h b/editor/plugins/editor_debugger_plugin.h
index 5536f2daa2..10fd1151de 100644
--- a/editor/plugins/editor_debugger_plugin.h
+++ b/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();