From a03af773e83f4acf71842de3f3c8a02fef600fcf Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Thu, 29 Jul 2021 19:08:15 +0300 Subject: Clear debug process id at `stop()` to prevent invalid checking of them --- editor/editor_run.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp index 4fadbf5922..8a7ec9aa82 100644 --- a/editor/editor_run.cpp +++ b/editor/editor_run.cpp @@ -270,6 +270,7 @@ void EditorRun::stop() { for (const OS::ProcessID &E : pids) { OS::get_singleton()->kill(E); } + pids.clear(); } status = STATUS_STOP; -- cgit v1.2.3