mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-05-07 04:39:07 +00:00
Merge branch 'master' into master
This commit is contained in:
@@ -3,6 +3,7 @@ using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -31,7 +32,7 @@ namespace ElectronNET.API
|
||||
{
|
||||
BridgeConnector.Socket.On("app-window-all-closed" + GetHashCode(), () =>
|
||||
{
|
||||
if (!Electron.WindowManager.IsQuitOnWindowAllClosed)
|
||||
if (!Electron.WindowManager.IsQuitOnWindowAllClosed || RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
|
||||
{
|
||||
_windowAllClosed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user