Skip to content

Commit

Permalink
Filter connecting signal which may cause unintended leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rufferson committed Dec 17, 2020
1 parent 260c2e9 commit 0494871
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/search-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ connection_status_changed_cb (GabbleConnection *conn,
switch (status)
{
case TP_CONNECTION_STATUS_CONNECTING:
/* FIXME: I don't think this status is actually used in gabble */
if (reason == TP_CONNECTION_STATUS_REASON_NETWORK_ERROR)
return;
/* Track Search server available on the connection.
*
* The GabbleDisco object is created after the channel manager so we
Expand Down

0 comments on commit 0494871

Please sign in to comment.