Skip to content

Commit 0494871

Browse files
committed
Filter connecting signal which may cause unintended leaks
1 parent 260c2e9 commit 0494871

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/search-manager.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ connection_status_changed_cb (GabbleConnection *conn,
167167
switch (status)
168168
{
169169
case TP_CONNECTION_STATUS_CONNECTING:
170+
/* FIXME: I don't think this status is actually used in gabble */
171+
if (reason == TP_CONNECTION_STATUS_REASON_NETWORK_ERROR)
172+
return;
170173
/* Track Search server available on the connection.
171174
*
172175
* The GabbleDisco object is created after the channel manager so we

0 commit comments

Comments
 (0)