mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-10 07:37:26 +02:00
Connected / Disconnected refactor.
This commit is contained in:
parent
e51541fe01
commit
51c6e0091f
5 changed files with 17 additions and 18 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue