mirror of https://github.com/godotengine/godot
Merge pull request #100738 from beicause/fix-crash-one-click-deploy
Fix crash when using one-click deploy
This commit is contained in:
commit
01a7c81e02
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue