Electron App events not firing #57

Open
opened 2026-01-29 16:29:23 +00:00 by claunia · 0 comments
Owner

Originally created by @BrianAllred on GitHub (Nov 9, 2017).

Originally assigned to: @GregorBiswanger on GitHub.

I've tried subscribing to BeforeQuit, Quitting, WillQuit, and WindowAllClosed. Regardless of the event, my code never fires when I close the Electron window.

            Electron.App.BeforeQuit += SaveOptions;
            Electron.App.Quitting += SaveOptions;
            Electron.App.WillQuit += SaveOptions;
            Electron.App.WindowAllClosed += SaveOptions;

Using version 0.0.7 on Windows 10.

Originally created by @BrianAllred on GitHub (Nov 9, 2017). Originally assigned to: @GregorBiswanger on GitHub. I've tried subscribing to BeforeQuit, Quitting, WillQuit, and WindowAllClosed. Regardless of the event, my code never fires when I close the Electron window. ``` Electron.App.BeforeQuit += SaveOptions; Electron.App.Quitting += SaveOptions; Electron.App.WillQuit += SaveOptions; Electron.App.WindowAllClosed += SaveOptions; ``` Using version 0.0.7 on Windows 10.
claunia added the bugIn progress labels 2026-01-29 16:29:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#57