Revert "Try closing gracefully before terminating process"

This commit is contained in:
Rémi Verschelde
2018-08-27 17:32:43 +02:00
committed by GitHub
parent c1f687c681
commit 72996df656
6 changed files with 11 additions and 39 deletions

View File

@@ -196,8 +196,8 @@ Error EditorRun::run(const String &p_scene, const String p_custom_args, const Li
void EditorRun::stop() {
if (status != STATUS_STOP && pid != 0) {
const int max_wait_msec = GLOBAL_DEF("editor/stop_max_wait_msec", 10000);
OS::get_singleton()->kill(pid, max_wait_msec);
OS::get_singleton()->kill(pid);
}
status = STATUS_STOP;