Fix session resuming
This commit is contained in:
parent
01df3272b5
commit
1a691389ec
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ func (s *Session) HandlerLoop() {
|
|||
s.Connection.sendPacket(subMessage)
|
||||
}
|
||||
}
|
||||
c := <-s.ConnecionChannel
|
||||
s.Connect(c)
|
||||
s.HandlerLoop()
|
||||
}
|
||||
|
||||
func (s *Session) Disconnect(code packets.DisconnectReasonCode) error {
|
||||
|
|
Loading…
Reference in a new issue