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

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;