-
Notifications
You must be signed in to change notification settings - Fork 161
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
Crash on Electron (OSX) #215
Comments
We have same issue here. |
Hi enami, |
If you want simple workaround, then just not to delete ThreadSafeCallback::Impl object. Since an application is going to exit anyway, not deleting this small object seems not so much harmful. Of course, this is not a correct fix though.
|
I wonder if a correct fix would be using napi's thread-safe-function instead of using napi-thread-safe-callback npm module. |
Thank you very much @enami, I used your pull. It fixes the crash for me. |
I got a crash report on OSX when exit Electron app.
Electron version:
13.1.7
OS version:
macOS 11.3.1 (20E241)
Crash report:
My Electron main process:
The text was updated successfully, but these errors were encountered: