wsify icon indicating copy to clipboard operation
wsify copied to clipboard

send on closed channel

Open yifanes opened this issue 4 years ago • 0 comments

goRoutineAction handle readjson, and readjson err will close chan. after this time

if err := conn.WriteJSON(msg); err != nil {
    debug("A message cannot be published to (" + key + ") because of the following error (" + err.Error() + ")")
    closeCh <- true
}

send data on closed channel

yifanes avatar Sep 03 '20 05:09 yifanes