mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
move send out of lock
This commit is contained in:
parent
fd357ae6f2
commit
e0ae732f35
1 changed files with 1 additions and 1 deletions
|
@ -162,10 +162,10 @@ func C2SHello(conn *websocket.Conn, client *ClientInfo, msg ClientMessage) (rmsg
|
|||
client.ClientID = clientID
|
||||
client.VersionString = copyString(version)
|
||||
client.Version = VersionFromString(version)
|
||||
uniqueUserChannel <- client.ClientID
|
||||
client.HelloOK = true
|
||||
client.Mutex.Unlock()
|
||||
|
||||
uniqueUserChannel <- client.ClientID
|
||||
SubscribeGlobal(client)
|
||||
|
||||
jsTime := float64(time.Now().UnixNano()/1000) / 1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue