Skip to content

Commit

Permalink
Remove the unused function resetPendingFlush().
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Sullivan committed Nov 9, 2015
1 parent 5351d47 commit b705e8a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nats.go
Expand Up @@ -1662,12 +1662,6 @@ func (nc *Conn) resendSubscriptions() {
}
}

// Clear pending flush calls and reset
func (nc *Conn) resetPendingFlush() {
nc.clearPendingFlushCalls()
nc.pongs = make([]chan bool, 0, 8)
}

// This will clear any pending flush calls and release pending calls.
func (nc *Conn) clearPendingFlushCalls() {
nc.mu.Lock()
Expand Down

0 comments on commit b705e8a

Please sign in to comment.