question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`Error: Object has been destroyed`

See original GitHub issue

Description

Occasionally, an error Object has been destroyed is thrown on window startup, preventing the application from launching:

Full error

Environment

  • electron-splashscreen version: 0.3.4
  • Electron version: 4.1.1
  • OS: Manjaro Linux x86_64 (Kernel 5.0.1-1-MANJARO)

Steps to Reproduce

I have not yet been able to reproduce this consistently. The app in question is jgierer12/pocket-casts-linux.

Expected behaviour

The application launches correctly without errors.

Actual behaviour

The above Object has been destroyed error is thrown and the application does not launch.

Related issues

Related discussions are in jgierer12/pocket-casts-linux#3, jgierer12/pocket-casts-linux#4, and jgierer12/pocket-casts-linux#7

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
trodicommented, Mar 26, 2019

It looks like the error is thrown when attempting to close the splashscreen app and the app object has already been destroyed. Possibly if the splashscreen took too long to load. I’m looking into it. Thanks.

0reactions
trodicommented, Jan 8, 2020

FYI, I was able to reproduce this error being thrown on windows by closing the app while the splashscreen was still running (without the fix). Testing with the fix, the issue was indeed resolved.

This fix is now published as part of v1.0.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object has been destroyed when open secondary/child ...
If I closed the pop window and reopen it again, I will get this error: Uncaught Exception: Error: Object has been destroyed at...
Read more >
Object has been destroyed · Issue #1 - GitHub
I found that mainBindings() is creating listeners and not clearing them properly. This is why we get the object destroyed error, the listener...
Read more >
Error: Object has been destroyed | Pinnacle 21
Error : Object has been destroyed in pinnacle 21. I have installed in macOS m1 mac somehow I am not able to use...
Read more >
MongoDB Compass start error - Error: Object has been ...
Hi, To avoid restarting Windows, use Resource Monitor -> CPU tab -> in handles type Compass, and Kill all associated processes. It will...
Read more >
Object has been destroyed - General - Navigraph
Im having the same issue, just updated this morning and it started up fine and once I started flight planning, the Java script...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found