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

Error: Object has been destroyed #104

Closed
steverandy opened this issue Aug 9, 2018 · 6 comments
Closed

Error: Object has been destroyed #104

steverandy opened this issue Aug 9, 2018 · 6 comments
Assignees

Comments

@steverandy
Copy link

Sometimes getting the following error.

Error: Object has been destroyed
  File "app:https:///node_modules/@sentry/electron/dist/main/backend.js", line 257, col 68, in Immediate.setImmediate [as _onImmediate]
    this.instrumentBreadcrumbs(`WebContents[${contents.id}]`, contents, ['dom-ready', 'load-url', 'destroyed']);
  File "timers.js", line 789, col 20, in runCallback
  File "timers.js", line 751, col 5, in tryOnImmediate
  File "timers.js", line 722, col 5, in processImmediate [as _immediateCallback]
@HazAT
Copy link
Member

HazAT commented Sep 24, 2018

Can you please update to the latest version and report if this still happens?

@HazAT HazAT self-assigned this Sep 24, 2018
@ipy
Copy link

ipy commented Aug 26, 2019

图片

Reproduced on the latest version. I'd suggest checking isDestroyed() before instrumentBreadcrumbs

@timfish
Copy link
Collaborator

timfish commented Aug 28, 2019

@ipy have you got some code that reproduces this?

The only way I can see this happening is if the webContents/window is destroyed immediately.

@HaNdTriX
Copy link

HaNdTriX commented Oct 9, 2019

I am having the same error.

May it have something to to with: "BrowserWindow Unresponsive"

@steverandy
Copy link
Author

Still seeing the issue on the latest version. Is there a suggestion to handle this better?

@timfish
Copy link
Collaborator

timfish commented May 26, 2021

Looks like this was fixed a while ago!

@timfish timfish closed this as completed May 26, 2021
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

5 participants