mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-02 17:18:31 +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.ClientID = clientID
|
||||||
client.VersionString = copyString(version)
|
client.VersionString = copyString(version)
|
||||||
client.Version = VersionFromString(version)
|
client.Version = VersionFromString(version)
|
||||||
uniqueUserChannel <- client.ClientID
|
|
||||||
client.HelloOK = true
|
client.HelloOK = true
|
||||||
client.Mutex.Unlock()
|
client.Mutex.Unlock()
|
||||||
|
|
||||||
|
uniqueUserChannel <- client.ClientID
|
||||||
SubscribeGlobal(client)
|
SubscribeGlobal(client)
|
||||||
|
|
||||||
jsTime := float64(time.Now().UnixNano()/1000) / 1000
|
jsTime := float64(time.Now().UnixNano()/1000) / 1000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue