Skip to content

Commit

Permalink
removed close instructions in Manager.Observe
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuryshev committed May 22, 2019
1 parent a9d1066 commit 33a1343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/transport/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func (tm *Manager) Observe() (accept <-chan *ManagedTransport, dial <-chan *Mana
for {
select {
case <-tm.doneChan:
close(dialCh)
close(acceptCh)
// close(dialCh)
// close(acceptCh)
return
case tr := <-tm.acceptedTrChan:
acceptCh <- tr
Expand Down

0 comments on commit 33a1343

Please sign in to comment.