@@ -99,13 +99,14 @@ loop:
}
})
case m := <-h.exit:
h.open.Store(false)
h.sessions.each(func(s *Session) {
s.writeMessage(m)
s.Close()
h.sessions.clear()
break loop
The note is not visible to the blocked user.