-
Notifications
You must be signed in to change notification settings - Fork 399
Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> #769
Comments
This is only when you quit Atom, not when only closing a single window, correct? |
Correct. |
Okay. This is a race down in Electron's RPC code. I'll provide some more context tomorrow but I'm not sure of an easy fix yet. |
@Arcanemagus Just confirming — you said that this was fixed for you, right? |
I wasn't seeing it on a build based on atom/atom@30ee14b, although you pointed out seeing a similar message in the build from that commit here. |
Hmmm, this is actually back on a build of atom/atom@fb9fd2f. |
Stack trace has changed slightly:
|
Here's a stack trace from a build based on merging the Electron 1.6 and Node.js 7 branches into master:
Looks like it might have a tad more information, likely due to the Electron update. |
Interestingly on the released Atom v1.18.0-beta0 I don't see a message from this, but if I build the same commit I see the stack trace from #769 (comment) so there must be some sort of wrapper in the installer version that is hiding that message. |
Having the same issue.. Did you ever resolve it? |
I had the same error. My trick is to change the rights for the ~/.atom/nohub.out file.
Hope it helps. |
In the settings, there's an option "Restore Previous Windows on Start". If you set it to "no", it will fix the problem, at least for me. Hope this would help. |
@pachevalier Hi, I'm getting same error message and I'm not able to solve it. |
Exactly same error for me with electron 3.0.10 on macOS Mojave.
|
yes that is the solution. Although you are being redundant ~/username/.atom/nohup.out sudo chown -R USERNAME /home/USERNAME/.atom |
Linking to a bunch of places Issues with the same name: In the wild: There's also two versions of this error, not windows... Attempting to call a function in a renderer window that has been closed or released.
Function provided here: worker.js:60:22
Remote event names: crashed, destroyed and windows Attempting to call a function in a renderer window that has been closed or released.
Function provided here: Object.<anonymous> (D:\a\github\github\lib\worker.js:60:22
Remote event names: crashed, destroyed |
Description
When Atom is closed an error is printed to the CLI it was launched from about an attempt to call to a renderer window that has been closed.
Steps to Reproduce
Expected behavior:
No errors printed to the terminal.
Actual behavior:
The following error stack is printed to the terminal:
Reproduces how often:
100% of the time, whether in safe mode or not.
Versions
Windows 10 x64
Build from atom/atom@4cbff30.
Atom : 1.18.0-dev-4cbff3044 x64
Electron: 1.3.15
Chrome : 52.0.2743.82
Node : 6.5.0
[email protected] (bundled in the build)
Additional Information
Whether the github panel is opened or not doesn't seem to matter. The project that was open had 2 changed files.
The text was updated successfully, but these errors were encountered: