Browse Source

Merge pull request #51024 from Chaosus/clear_processes_ids

Clear debug process identifiers array at `stop()` to prevent invalid checking of them
Rémi Verschelde 4 years ago
parent
commit
140905df8d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_run.cpp

+ 1 - 0
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;