From: Cheng Zhao Date: Wed, 20 Jan 2016 16:46:38 +0000 (-0700) Subject: docs: win.destroy() is safe X-Git-Tag: v0.36.5~17 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5bd2d4b08d0ddd5ce29c3c396e5f01080713fece;p=electron.git docs: win.destroy() is safe --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 17e598cb..790139c0 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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 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()` Try to close the window, this has the same effect with user manually clicking