Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closing of the dataChan right after the closeChan can cause a race in select statements. If select attemps the dataChan operation then a panic will happen. Since dataChan is not used for synchronization, the closure of closeChan is enough to stop all data operations. Fixes #60 Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
- Loading branch information