docs: win.destroy() is safe
This commit is contained in:
parent
54b5369215
commit
5bd2d4b08d
1 changed files with 0 additions and 3 deletions
|
@ -359,9 +359,6 @@ Force closing the window, the `unload` and `beforeunload` event won't be emitted
|
||||||
for the web page, and `close` event will also not be emitted
|
for the web page, and `close` event will also not be emitted
|
||||||
for this window, but it guarantees the `closed` event will be emitted.
|
for this window, but it guarantees the `closed` event will be emitted.
|
||||||
|
|
||||||
You should only use this method when the renderer process (web page) has
|
|
||||||
crashed.
|
|
||||||
|
|
||||||
### `win.close()`
|
### `win.close()`
|
||||||
|
|
||||||
Try to close the window, this has the same effect with user manually clicking
|
Try to close the window, this has the same effect with user manually clicking
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue