mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix issue causing the last edited project to open while switching to another one.
Fixes https://github.com/godotengine/godot/issues/76562
This commit is contained in:
parent
dcd31a25b4
commit
a951a14b16
3 changed files with 59 additions and 17 deletions
|
|
@ -90,7 +90,7 @@ public final class ProcessPhoenix extends Activity {
|
|||
*/
|
||||
public static void forceQuit(Activity activity, int pid) {
|
||||
Process.killProcess(pid); // Kill original main process
|
||||
activity.finish();
|
||||
activity.finishAndRemoveTask();
|
||||
Runtime.getRuntime().exit(0); // Kill kill kill!
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue