Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript error on menu items #4

Open
mitchellknight opened this issue Dec 7, 2016 · 1 comment
Open

JavaScript error on menu items #4

mitchellknight opened this issue Dec 7, 2016 · 1 comment

Comments

@mitchellknight
Copy link

How to reproduce: Open ffftp.app. Close the window. Select a menu item like Action → Connect or Dev → Dev Tools.

Error Message:

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 (/ffftp.app/Contents/Resources/electron.asar/browser/rpc-server.js:186:19) at MenuItem.click (/ffftp.app/Contents/Resources/electron.asar/browser/api/menu-item.js:82:16)
at Function.executeCommand (/ffftp.app/Contents/Resources/electron.asar/browser/api/menu.js:119:40)

Recommendation: If closing the window doesn't close the app (somewhat common on macOS apps), then running any command with the window closed should trigger the window to open before the command is executed.

@lukasoppermann
Copy link

Same error here.

screen shot 2017-02-10 at 10 41 08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants