mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
stop login timer on destroy
This commit is contained in:
parent
e411dafda7
commit
54ca916c85
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue