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
|
// send IPC Message
|
||||||
ShellPage.SetRestartAdminSndMessageCallback(msg =>
|
ShellPage.SetRestartAdminSndMessageCallback(msg =>
|
||||||
{
|
{
|
||||||
Program.GetTwoWayIPCManager().Send(msg);
|
Program.GetTwoWayIPCManager()?.Send(msg);
|
||||||
isOpen = false;
|
isOpen = false;
|
||||||
System.Windows.Application.Current.Shutdown(); // close application
|
System.Windows.Application.Current.Shutdown(); // close application
|
||||||
});
|
});
|
||||||
@@ -87,7 +87,7 @@ namespace PowerToys.Settings
|
|||||||
// send IPC Message
|
// send IPC Message
|
||||||
ShellPage.SetCheckForUpdatesMessageCallback(msg =>
|
ShellPage.SetCheckForUpdatesMessageCallback(msg =>
|
||||||
{
|
{
|
||||||
Program.GetTwoWayIPCManager().Send(msg);
|
Program.GetTwoWayIPCManager()?.Send(msg);
|
||||||
});
|
});
|
||||||
|
|
||||||
// open oobe
|
// open oobe
|
||||||
|
|||||||
Reference in New Issue
Block a user