Unhandled Error Error: Writing to COM port (GetOverlappedResult): Operation aborted #2405
Unanswered
olimexsmart
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
``Hi,
I struggling to get rid of the error in the title. I'm developing an Electron app on Windows.
From my understanding this error happens when a port is closed when data is still being sent.
This is the code I have now that closes the serial port, which is part of a class that wraps all the interactions with the serial port:
What am I doing wrong? Any suggestion on how the port should be closed?
Beta Was this translation helpful? Give feedback.
All reactions