Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: d8227c275101496ddb0fe1c2f0a132856451bcaf
https://github.com/conformal/btcd/commit/d8227c275101496ddb0fe1c2f0a132856451bcaf
Author: Josh Rickmar <[email protected]>
Date: 2014-01-14 (Tue, 14 Jan 2014)
Changed paths:
M rpcwebsocket.go
Log Message:
-----------
Only close websocket disconnected chan if still open.
A channel cannot be closed multiple times, so use a select statement
to only close the channel if it can not be read from.