mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Revert "Try closing gracefully before terminating process"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user