You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-30 16:26:50 +00:00
Merge pull request #100738 from beicause/fix-crash-one-click-deploy
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 {
|
OS::ProcessID EditorRun::get_current_process() const {
|
||||||
|
if (pids.front() == nullptr) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return pids.front()->get();
|
return pids.front()->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user