Skip to content

Conversation

@phablulo
Copy link

I fixed the finish callback signature, it wasn't aware of errors. Plus I'm emiting the found devices on the finished event because it's really handy.

It is not backwards compatible, as the user now MUST handle the error event or else the app will crash.

@webprofusion-chrisc
Copy link

I can confirm this fix was required to get serial.inquire(); to work.

@tillbaks
Copy link

Actually found the same issue when trying this fork. Not sure about your "error"-event since there is already a "failure"-event used for all errors, I just reused that instead. Also it didn't work in the latest electron versions 10, 11. So I fixed that in my fork: master...tillbaks:master

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.

3 participants