Commit 993ef54e authored by Jordan Liggitt's avatar Jordan Liggitt

Close web socket watches correctly

parent 7e4084c9
......@@ -88,6 +88,7 @@ type WatchServer struct {
// HandleWS implements a websocket handler.
func (w *WatchServer) HandleWS(ws *websocket.Conn) {
defer ws.Close()
done := make(chan struct{})
go func() {
var unused interface{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment