Merge pull request #21241 from dragmz/reset-debugger-reason

Reset reason text when no longer connected
This commit is contained in:
Rémi Verschelde 2018-08-21 00:12:25 +02:00 committed by GitHub
commit 5dc2b12efa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1240,6 +1240,9 @@ void ScriptEditorDebugger::stop() {
if (connection.is_valid()) {
EditorNode::get_log()->add_message("** Debug Process Stopped **");
connection.unref();
reason->set_text("");
reason->set_tooltip("");
}
pending_in_queue = 0;