mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Shift to detect nullable (#10627)
This commit is contained in:
@@ -79,7 +79,7 @@ namespace PowerToys.Settings
|
||||
// send IPC Message
|
||||
ShellPage.SetRestartAdminSndMessageCallback(msg =>
|
||||
{
|
||||
Program.GetTwoWayIPCManager().Send(msg);
|
||||
Program.GetTwoWayIPCManager()?.Send(msg);
|
||||
isOpen = false;
|
||||
System.Windows.Application.Current.Shutdown(); // close application
|
||||
});
|
||||
@@ -87,7 +87,7 @@ namespace PowerToys.Settings
|
||||
// send IPC Message
|
||||
ShellPage.SetCheckForUpdatesMessageCallback(msg =>
|
||||
{
|
||||
Program.GetTwoWayIPCManager().Send(msg);
|
||||
Program.GetTwoWayIPCManager()?.Send(msg);
|
||||
});
|
||||
|
||||
// open oobe
|
||||
|
||||
Reference in New Issue
Block a user