mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-12 07:43:31 -07:00
stop login timer on destroy
This commit is contained in:
@@ -143,6 +143,8 @@ type DestroyClient struct {
|
||||
func (client *Client) Destroy() {
|
||||
client.socket.Close()
|
||||
|
||||
client.loginTimer.Stop()
|
||||
|
||||
if client.idleTimer != nil {
|
||||
client.idleTimer.Stop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user