From 5bd2d4b08d0ddd5ce29c3c396e5f01080713fece Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 20 Jan 2016 09:46:38 -0700 Subject: [PATCH] docs: win.destroy() is safe --- docs/api/browser-window.md | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.43.0