Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gps: avoid race condition in variable assignment
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 golang#1194.
- Loading branch information