fix: watch client ping err fails to close ws conn
This commit is contained in:
parent
b6ac5603ed
commit
205247b8ec
@ -194,6 +194,8 @@ func (gs *gocServer) watchProfileUpdate(c *gin.Context) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
gwc.once.Do(func() { close(gwc.exitCh) })
|
||||
}()
|
||||
|
||||
<-gwc.exitCh
|
||||
|
Loading…
Reference in New Issue
Block a user