The application was not raising the all windows closed event which
didn't allow the .NET application to exit properly when the last window
was closed.
The recommendation by electronjs is to subscribe to the all windows
closed event and exit the app via code on macos.
This change allows the event to propagated up to the .NET application.
It may be better to move all of the logic surrounding this to the
ElectronNET.API project and allow the application developer full
control over the behavior. For now, this fixes the immediate bug.
GH-346