diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-24 13:30:41 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-24 13:30:41 +0200 |
commit | 5e9267c991331ef09ffcc28d306c78c57a2654a4 (patch) | |
tree | 9ef91e21e50fec34aa715c875428ebaa7a60ff55 /audio/avdtp.c | |
parent | f48c24c3d758934fa5d3edfd49c9a2bced272e5b (diff) |
Don't call g_io_channel_shutdown if the session was removed
In this rather unusual scenario g_io_channel_shutdown will already have
been called so attempting it again would cause a GLib warning.
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r-- | audio/avdtp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c index 95e5d178..27a75d24 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -1832,7 +1832,6 @@ static void avdtp_connect_cb(GIOChannel *chan, GError *err, gpointer user_data) if (!g_slist_find(sessions, session)) { debug("avdtp_connect_cb: session got removed"); - g_io_channel_shutdown(chan, TRUE, NULL); return; } |