Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

gps: avoid race condition in variable assignment #1200

Merged
merged 1 commit into from
Sep 22, 2017
Merged

gps: avoid race condition in variable assignment #1200

merged 1 commit into from
Sep 22, 2017

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Sep 22, 2017

Instead, we use the existing waitDone channel to wait for the
command to return and then clean up the timer unconditionally. This
may hold the goroutine open for longer than strictly necessary, but
that seems harmless.

Closes #1194.

@jmank88

Instead, we use the existing `waitDone` channel to wait for the
command to return and then clean up the timer unconditionally. This
may hold the goroutine open for longer than strictly necessary, but
that seems harmless.

Closes #1194.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants