Skip to content

Commit

Permalink
Add null check in ControlsHandlerTestBase.iOS.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Mar 1, 2023
1 parent e9e8def commit 1034f77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Task SetupWindowForTests<THandler>(IWindow window, Func<Task> runTests, IMauiCon
await whs.FinishedDisconnecting;
}
else
window.Handler.DisconnectHandler();
window.Handler?.DisconnectHandler();
var vc =
(window.Content?.Handler as IPlatformViewHandler)?
Expand Down

0 comments on commit 1034f77

Please sign in to comment.