-
Notifications
You must be signed in to change notification settings - Fork 5
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
Disconnecting a Controller causes segmentation fault #3
Comments
Huh, that seems weird. I'll look into it. |
What version of Node are you using? I can't replicate your issue, unfortunately. |
node v14.4.0 |
i'll try to replicate the issue on a different pc, just to see if the problem is on my end |
I updated the distributed SDK to the absolutely latest (commited) version and bumped the version to 1.1.1. Can you try the current version from github and tell me if that fixes your problem? |
Seems you've fixed the issue! |
Great, I will publish version 1.1.1 to npm then. |
when trying to disconnect a connected controller, the application crashes, for example:
causes the terminal to spit out:
at first I thought it because controller does not unregister the notification receiver, so i tried the following:
this causes the application to close with:
or when run with npx:
I tried putting a delay between removing the notification and disconnecting the controller, and it seems to work, but its not consistent;
The text was updated successfully, but these errors were encountered: