mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
fix crash when using one-click deploy
This commit is contained in:
parent
0454122b3c
commit
8f03548680
@ -285,6 +285,9 @@ void EditorRun::stop() {
|
||||
}
|
||||
|
||||
OS::ProcessID EditorRun::get_current_process() const {
|
||||
if (pids.front() == nullptr) {
|
||||
return 0;
|
||||
}
|
||||
return pids.front()->get();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user