Ver Fonte

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 há 4 anos atrás
pai
commit
140905df8d
1 ficheiros alterados com 1 adições e 0 exclusões
  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;