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

Solves crash on MacOS and Electron +9 #440

Merged
merged 2 commits into from
Aug 30, 2021
Merged

Solves crash on MacOS and Electron +9 #440

merged 2 commits into from
Aug 30, 2021

Conversation

danielmain
Copy link
Contributor

Solves crash described here: #438

@thegecko I appreciate a review here. Thank you!

If SuppressDestruct is not being called on macOS in combination with electron +9, a crash happen described #438
@danielmain
Copy link
Contributor Author

Thanks to @cleverca22 for fixing this problem

@thegecko
Copy link
Member

I have confirmed this issue exists on the following platforms:

  • Linux (Ubuntu) 32-bit
  • MacOS Mojave (10.14)
  • MacOS BigSur (11.4) Intel and M1

The issue is resolved with this patch, thanks @danielmain

Have also confirmed no adverse affects on other systems (incl. Windows)

@thegecko thegecko merged commit 6353add into node-usb:master Aug 30, 2021
@thegecko
Copy link
Member

v1.7.2 released

https://www.npmjs.com/package/usb

@thegecko thegecko mentioned this pull request Apr 25, 2022
4 tasks
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

Successfully merging this pull request may close these issues.

None yet

2 participants