From 49b15625b99ea1a3e7e44c570ea7f9f9b3f4b0d6 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Sat, 26 Jul 2014 10:15:34 -0500 Subject: [PATCH] Fix sending next queued websocket notification. --- rpcserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcserver.go b/rpcserver.go index ce51bcd..65e6478 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1199,6 +1199,8 @@ out: if len(q) == 0 { dequeue = nil skipQueue = s.dequeueNotification + } else { + next = q[0] } case <-s.quit: