Skip to content

Commit

Permalink
Backport (2-0-x) - docs: Document missing quit events during shutdown (
Browse files Browse the repository at this point in the history
…#13026)

* docs: Document missing events during shutdown

* docs: Better language
  • Loading branch information
trop[bot] authored and codebytere committed May 21, 2018
1 parent afcf94a commit 5acb7a0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/api/app.md
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 5acb7a0

Please sign in to comment.