mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
stop login timer on destroy
This commit is contained in:
parent
e411dafda7
commit
54ca916c85
@ -143,6 +143,8 @@ type DestroyClient struct {
|
||||
func (client *Client) Destroy() {
|
||||
client.socket.Close()
|
||||
|
||||
client.loginTimer.Stop()
|
||||
|
||||
if client.idleTimer != nil {
|
||||
client.idleTimer.Stop()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user