conformal/btcd — pull request #93 by flammit (2014-02-12 03:42:54+00:00)
Title: Added checking for closed connections in websocket handler helpers

Since the websocket handlers run in their own separate goroutines, it's
possible that they execute after the websocket connection has been
closed and cleaned up. This commit add the necessary checks to ensure
stale data isn't added to notification lists and that requests to closed
connections are ignored.

This closes #92.