Revert "Try closing gracefully before terminating process"
This commit is contained in:
parent
c1f687c681
commit
72996df656
6 changed files with 11 additions and 39 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue