Fix segfault on graceful exit

This commit is contained in:
bodqhrohro 2019-12-04 00:43:48 +02:00
parent 8949290c52
commit 3ce5081800

View file

@ -130,7 +130,7 @@ func (c *Client) Disconnect() {
// TODO: send unavailable presence to cached chats
c.client.Stop()
c.client.Destroy()
c.online = false
}