forked from External/ergo
ensure the nick timeout mechanism is cleaned up on client quit
This commit is contained in:
parent
a5897baa2b
commit
945dec9964
2 changed files with 20 additions and 3 deletions
|
|
@ -686,9 +686,8 @@ func (client *Client) destroy(beingResumed bool) {
|
|||
}
|
||||
|
||||
// clean up self
|
||||
if client.idletimer != nil {
|
||||
client.idletimer.Stop()
|
||||
}
|
||||
client.idletimer.Stop()
|
||||
client.nickTimer.Stop()
|
||||
|
||||
client.server.accounts.Logout(client)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue