Merge pull request #9254 from electron/endsession-event
End session event on browser window
This commit is contained in:
commit
7881376aff
7 changed files with 24 additions and 0 deletions
|
@ -376,6 +376,11 @@ window.onbeforeunload = (e) => {
|
|||
Emitted when the window is closed. After you have received this event you should
|
||||
remove the reference to the window and avoid using it any more.
|
||||
|
||||
#### Event: 'session-end' _Windows_
|
||||
|
||||
Emitted when window session is going to end due to force shutdown or machine restart
|
||||
or session log off.
|
||||
|
||||
#### Event: 'unresponsive'
|
||||
|
||||
Emitted when the web page becomes unresponsive.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue