]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: win.destroy() is safe
authorCheng Zhao <zcbenz@gmail.com>
Wed, 20 Jan 2016 16:46:38 +0000 (09:46 -0700)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 20 Jan 2016 16:46:38 +0000 (09:46 -0700)
docs/api/browser-window.md

index 17e598cb466097d60ecef272b6e0fc6185b3991e..790139c034db5cf6531fad786a6eee6e093f9e52 100644 (file)
@@ -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