Merge pull request #52743 from Ev1lbl0w/fix_debug_errors_not_clearing

Fix error list not being cleared
This commit is contained in:
Fabio Alessandrelli 2021-09-18 15:26:55 +02:00 committed by GitHub
commit bac757df21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

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;