mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
fix crash when using one-click deploy
This commit is contained in:
@@ -285,6 +285,9 @@ void EditorRun::stop() {
|
||||
}
|
||||
|
||||
OS::ProcessID EditorRun::get_current_process() const {
|
||||
if (pids.front() == nullptr) {
|
||||
return 0;
|
||||
}
|
||||
return pids.front()->get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user