diff --git a/docs/api/app.md b/docs/api/app.md index 926d1dde8ffc3..b668daef3f0ed 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -64,6 +64,9 @@ terminating the application. then `before-quit` is emitted *after* emitting `close` event on all windows and closing them. +**Note:** On Windows, this event will not be emitted if the app is closed due +to a shutdown/restart of the system or a user logout. + ### Event: 'will-quit' Returns: @@ -77,6 +80,9 @@ terminating the application. See the description of the `window-all-closed` event for the differences between the `will-quit` and `window-all-closed` events. +**Note:** On Windows, this event will not be emitted if the app is closed due +to a shutdown/restart of the system or a user logout. + ### Event: 'quit' Returns: @@ -86,6 +92,9 @@ Returns: Emitted when the application is quitting. +**Note:** On Windows, this event will not be emitted if the app is closed due +to a shutdown/restart of the system or a user logout. + ### Event: 'open-file' _macOS_ Returns: