Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 8c7c1e84a35ffd1f62cfaa46336643f15679a713
https://github.com/conformal/btcd/commit/8c7c1e84a35ffd1f62cfaa46336643f15679a713
Author: Dave Collins <[email protected]>
Date: 2014-02-25 (Tue, 25 Feb 2014)
Changed paths:
M rpcwebsocket.go
Log Message:
-----------
Use mtx to control disconnect of websocket client.
This commit changes the websocket client code to use a mutex for
disconnect since it's theoretically possible a non-blocking select on the
quit channel could fall through from two different goroutines thus causing
a second call to close.
ok @jrick.