diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-03-05 12:24:49 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-03-05 12:28:22 +0100 |
commit | e5ec499a92162b785cf4283c095720e0b7f15dae (patch) | |
tree | a7eda5de459f42d34275e9ab8f6146bc86b70118 /editor/debugger/editor_debugger_inspector.cpp | |
parent | e8b68c48eaba0874274c507872336e29895658a5 (diff) | |
download | redot-engine-e5ec499a92162b785cf4283c095720e0b7f15dae.tar.gz |
Fix some bugs spotted by asan in editor debugger.
EditorDebuggerInspector is in tree, so it gets automatically deleted,
when clearing errors the debugger should not fake a process
notification.
Diffstat (limited to 'editor/debugger/editor_debugger_inspector.cpp')
-rw-r--r-- | editor/debugger/editor_debugger_inspector.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/debugger/editor_debugger_inspector.cpp b/editor/debugger/editor_debugger_inspector.cpp index 6ada212323..1506d64b63 100644 --- a/editor/debugger/editor_debugger_inspector.cpp +++ b/editor/debugger/editor_debugger_inspector.cpp @@ -91,6 +91,7 @@ EditorDebuggerInspector::EditorDebuggerInspector() { } EditorDebuggerInspector::~EditorDebuggerInspector() { + clear_cache(); memdelete(variables); } |