docs: Document missing quit events during shutdown (#12986)
* docs: Document missing events during shutdown
This commit is contained in:
parent
7177e941eb
commit
f087f8e205
1 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,9 @@ terminating the application.
|
||||||
then `before-quit` is emitted *after* emitting `close` event on all windows and
|
then `before-quit` is emitted *after* emitting `close` event on all windows and
|
||||||
closing them.
|
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'
|
### Event: 'will-quit'
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
@ -77,6 +80,9 @@ terminating the application.
|
||||||
See the description of the `window-all-closed` event for the differences between
|
See the description of the `window-all-closed` event for the differences between
|
||||||
the `will-quit` and `window-all-closed` events.
|
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'
|
### Event: 'quit'
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
@ -86,6 +92,9 @@ Returns:
|
||||||
|
|
||||||
Emitted when the application is quitting.
|
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_
|
### Event: 'open-file' _macOS_
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
Loading…
Reference in a new issue