Fix error list not being cleared

This commit is contained in:
Ricardo Subtil 2021-09-16 12:29:23 +01:00
parent 879ce4c6e1
commit 9e85c95ca2

View file

@ -884,8 +884,7 @@ void ScriptEditorDebugger::_clear_breakpoints() {
}
void ScriptEditorDebugger::start(Ref<RemoteDebuggerPeer> p_peer) {
error_count = 0;
warning_count = 0;
_clear_errors_list();
stop();
peer = p_peer;