mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 04:07:07 +00:00
Fix segfault on graceful exit
This commit is contained in:
parent
8949290c52
commit
3ce5081800
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ func (c *Client) Disconnect() {
|
||||||
|
|
||||||
// TODO: send unavailable presence to cached chats
|
// TODO: send unavailable presence to cached chats
|
||||||
|
|
||||||
c.client.Stop()
|
c.client.Destroy()
|
||||||
c.online = false
|
c.online = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue