Version of Electron (run $ electron --version): v1.4.0
OS: Mac OS 10.12 (16A323)
Stack trace from the error message (if any)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: undefined.
at callIntoRenderer (/Applications/Electronic WeChat.app/Contents/Resources/electron.asar/browser/rpc-server.js:189:19)
at MenuItem.click (/Applications/Electronic WeChat.app/Contents/Resources/electron.asar/browser/api/menu-item.js:59:9)
at Function.executeCommand (/Applications/Electronic WeChat.app/Contents/Resources/electron.asar/browser/api/menu.js:121:15)
Description
在mac下,当程序在扫二维码状态(长期停留),按ctrl-q会试图退出报错,并且不退出。通过
Electronic Wechat
菜单=>Quit(ctrl-q)
,出现一样的错误。Specifications
$ electron --version
):v1.4.0
Mac OS 10.12 (16A323)
A JavaScript error occurred in the main process