diff options
| author | Dmitry Podgorny <pasis.ua@gmail.com> | 2019-06-01 20:21:46 +0300 |
|---|---|---|
| committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2019-06-01 20:21:46 +0300 |
| commit | c2d3c3e41664bbe49863f4b653b66ce2d7ba2788 (patch) | |
| tree | c483be2ce153188f32ccf48c6460eba96ed1a94b /src/command/cmd_ac.h | |
| parent | bfa4a2ef1fdee2ae6ae017e8a97ac968509c3ca5 (diff) | |
| download | profani-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 'src/command/cmd_ac.h')
0 files changed, 0 insertions, 0 deletions