Skip to content

GRPC serial monitor: Fix unhandled error (EINTR) that leaves serial port open #507

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

Merged
merged 2 commits into from
Dec 6, 2019

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Dec 3, 2019

Update go-serial library to latest version, includes a fix to serial.Read method.

Should fix: #504

Actual patch: bugst/go-serial#69

@kittaakos

Includes a fix to serial.Read method.

Should fix: arduino#504

Actual patch: bugst/go-serial#69
@cmaglie cmaglie self-assigned this Dec 3, 2019
@kittaakos
Copy link
Contributor

I am trying it right now and will use this version of CLI for arduino/arduino-pro-ide#112. I will update this PR if I find any issues.

Thank you for your help, @cmaglie!

@kittaakos
Copy link
Contributor

After looking into the changeset; I would have expected a mon.Close() here. But let me verify it first...

@kittaakos
Copy link
Contributor

I would have expected a mon.Close() here.

I haven't experienced any issues, will be doing additional verifications during the development tomorrow. Very very promising fix 🙏

@kittaakos
Copy link
Contributor

@cmaglie, I have been using this version of CLI since yesterday and haven't had any issues with it. Awesome 🎉, +1 for merging it.

Copy link
Contributor

@masci masci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @kittaakos for testing!

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.

[serial-monitor][gRPC] Unhandled EINTR error leaves the serial port opened
3 participants