3
0
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:
Jeremy Latt 2014-02-16 18:16:13 -08:00
parent e411dafda7
commit 54ca916c85

View File

@ -143,6 +143,8 @@ type DestroyClient struct {
func (client *Client) Destroy() {
client.socket.Close()
client.loginTimer.Stop()
if client.idleTimer != nil {
client.idleTimer.Stop()
}