This commit is contained in:
Cheng Zhao 2016-01-20 09:46:38 -07:00
Родитель 54b5369215
Коммит 5bd2d4b08d
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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