We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 278c04c commit ad9c671Copy full SHA for ad9c671
integration-test/net9-maui/App.xaml.cs
@@ -72,7 +72,7 @@ public static void OnAppearing()
72
}
73
#pragma warning restore CS0618
74
75
- if (HasTestArg("NullReferenceException"))
+ else if (HasTestArg("NullReferenceException"))
76
{
77
try
78
@@ -104,7 +104,7 @@ public static void Kill()
104
#if ANDROID
105
// prevent auto-restart
106
Platform.CurrentActivity?.FinishAffinity();
107
- Process.KillProcess(Process.MyPid());
+ System.Environment.Exit(0);
108
#elif IOS
109
System.Environment.Exit(0);
110
#endif
0 commit comments