1
0
Fork 0
forked from External/ergo

ensure the nick timeout mechanism is cleaned up on client quit

This commit is contained in:
Shivaram Lingamneni 2018-02-28 00:14:44 -05:00
parent a5897baa2b
commit 945dec9964
2 changed files with 20 additions and 3 deletions

View file

@ -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)