summaryrefslogtreecommitdiff
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@meta.com>2023-01-26 02:55:47 -0800
committerFredia Huya-Kouadio <fhuya@meta.com>2023-01-26 02:59:39 -0800
commitec4d720850091c7c2d3715031318bfcdbb391f62 (patch)
treef446a147685599212aaff22aff6c84549ab1996e /editor/editor_file_system.cpp
parent18a2e7ff6ebf0a477138c12c3efa63c15270a2ee (diff)
Fix the issue causing the Godot Android Editor to crash when returning from the launched and running game
The issue was caused because the running game pid was not set, and thus had a value of `0`. When trying to stop the running game, the `EditorRun::stop()` logic would kill the process with pid 0, which on Android corresponds to the running app's own process, thus causing the editor to crash. This issue did not happen on Godot 3 because pid with value of `0` are not considered valid.
Diffstat (limited to 'editor/editor_file_system.cpp')
0 files changed, 0 insertions, 0 deletions