Skip to content

Commit e4d03ee

Browse files
committed
build fix
1 parent 331ebb3 commit e4d03ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ElectronNET.WebApp/Controllers/ShortcutsController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public IActionResult Index()
2121

2222
await Electron.Dialog.ShowMessageBoxAsync(options);
2323
});
24-
25-
Electron.App.WillQuit += () => Task.Run(() => Electron.GlobalShortcut.UnregisterAll());
24+
Electron.App.WillQuit += arg => Task.Run(() => Electron.GlobalShortcut.UnregisterAll());
2625
}
2726

2827
return View();

0 commit comments

Comments
 (0)