Fix segfault on graceful exit
This commit is contained in:
parent
8949290c52
commit
3ce5081800
|
@ -130,7 +130,7 @@ func (c *Client) Disconnect() {
|
|||
|
||||
// TODO: send unavailable presence to cached chats
|
||||
|
||||
c.client.Stop()
|
||||
c.client.Destroy()
|
||||
c.online = false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue