about summary refs log tree commit diff stats
path: root/apidocs
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2019-06-01 20:21:46 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2019-06-01 20:21:46 +0300
commitc2d3c3e41664bbe49863f4b653b66ce2d7ba2788 (patch)
treec483be2ce153188f32ccf48c6460eba96ed1a94b /apidocs
parentbfa4a2ef1fdee2ae6ae017e8a97ac968509c3ca5 (diff)
downloadprofani-tty-c2d3c3e41664bbe49863f4b653b66ce2d7ba2788.tar.gz
xmpp/connection: fix #1103
When connection is lost, profanity tries to disconnect what leads
to an infinite loop. The loop occurs, because connection_disconnet()
runs xmpp_run_once() separately and waits for XMPP_CONN_DISCONNECT
event. But it doesn't happen, because the connection object is
disconnected.

As solution, don't disconnect after XMPP_CONN_DISCONNECT is received.
Also, don't free libstrophe objects while the event loops executes,
because the event loop continues using objects after callbacks quit.
Diffstat (limited to 'apidocs')
0 files changed, 0 insertions, 0 deletions