diff options
-rw-r--r-- | profiles/audio/avrcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index d6f72ac20..fa5adabf4 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -3497,6 +3497,8 @@ static void session_destroy(struct avrcp *session) server->sessions = g_slist_remove(server->sessions, session); + session_abort_pending_pdu(session); + if (session->browsing_timer > 0) g_source_remove(session->browsing_timer); |