From 0a673940236fffdf6d2aff111a4d35346472ecbc Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 19 Sep 2016 12:23:28 +0300 Subject: [PATCH] Fix unnecessary unlocking causing panics --- daemon.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon.go b/daemon.go index 0f2b929..8e22caf 100644 --- a/daemon.go +++ b/daemon.go @@ -445,9 +445,7 @@ func Processor(events chan ClientEvent, finished chan struct{}) { if r, found := rooms[room]; found { roomSinks[r] <- ClientEvent{client, EventDel, ""} } else { - roomsM.RUnlock() client.ReplyNoChannel(room) - continue } } roomsM.RUnlock() -- 2.44.0