diff --git a/src/Microsoft.Android.Run/Program.cs b/src/Microsoft.Android.Run/Program.cs index 7b95b9288b5..8d5ee3e7c48 100644 --- a/src/Microsoft.Android.Run/Program.cs +++ b/src/Microsoft.Android.Run/Program.cs @@ -436,7 +436,7 @@ void StartLogcat () async Task WaitForAppExitAsync () { - while (!cts!.Token.IsCancellationRequested) { + while (!cts.Token.IsCancellationRequested) { // Check if app is still running var pid = await GetAppPidAsync (); if (pid == null || pid != logcatPid) {