refs #18 cleans sockets

This commit is contained in:
boyska 2019-04-30 17:56:13 +02:00
parent 5717c7ca29
commit aea09d94bf

View file

@ -157,6 +157,7 @@ func getWSHandler(hub circolog.Hub) http.HandlerFunc {
for {
_, _, err := conn.ReadMessage()
if err != nil {
conn.Close()
return
}
}