Closed codeminic closed 5 years ago
@codeminic did you happen to find a workaround for this issue?
Yes, but a really poor one. I copied the relevant code from this project and surrounded the crashing parts with try-catch clauses.
Anyone knows a solution to do this ? It's happening sporadically in my project
Does anybody still have the same error? I still have it
So cool that you brought push notifications to electron! First of all, thanks for that!
Sadly, im facing the following issue when using your library: When receiving a notification on a window that has been closed (but the app instance itself is still alive), incoming notifications are causing exceptions, probably because electron-push-receiver tries to call some method on the web contents object that has been destroyed.
Is there a way around this, maybe something like a 'teardownPushReceiver' method?
Just let me know if you need some code to repro this behavior.