Skip to content

Commit 0889735

Browse files
Revert change from kill to System.Environment.Exit
1 parent cf16076 commit 0889735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-test/net9-maui/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public static void Kill()
104104
#if ANDROID
105105
// prevent auto-restart
106106
Platform.CurrentActivity?.FinishAffinity();
107-
System.Environment.Exit(0);
107+
Process.KillProcess(Process.MyPid());
108108
#elif IOS
109109
System.Environment.Exit(0);
110110
#endif

0 commit comments

Comments
 (0)