mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Connected / Disconnected refactor.
This commit is contained in:
@ -197,7 +197,7 @@ func (ws *WebSocketManagerCtx) handle(connection *websocket.Conn, session types.
|
||||
defer func() {
|
||||
ticker.Stop()
|
||||
ws.logger.Debug().Str("address", connection.RemoteAddr().String()).Msg("handle socket ending")
|
||||
session.SetDisconnected()
|
||||
session.SetConnected(false)
|
||||
}()
|
||||
|
||||
for {
|
||||
|
Reference in New Issue
Block a user