Skip to content

Commit

Permalink
Don't short circuit Disconnect() just because of internal state
Browse files Browse the repository at this point in the history
resolves #262
  • Loading branch information
alsm committed Jan 17, 2019
1 parent 66c89a7 commit cb7eb93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ func (c *client) Disconnect(quiesce uint) {
} else {
WARN.Println(CLI, "Disconnect() called but not connected (disconnected/reconnecting)")
c.setConnected(disconnected)
return
}

c.disconnect()
Expand Down

0 comments on commit cb7eb93

Please sign in to comment.