Diff between bfd8cd9f8dbb62d4a763222f6e7b3df9558f520f and 18fe3cf498d046c2329e7ad75e585ed3b9ed1627
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avrcp.c | +2 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 76e89af..fa95bf9 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -3942,9 +3942,10 @@ void avrcp_unregister_player(struct avrcp_player *player)
target->player = g_slist_nth_data(server->players, 0);
}
- player_destroy(player);
avrcp_player_event(player,
AVRCP_EVENT_AVAILABLE_PLAYERS_CHANGED, NULL);
+
+ player_destroy(player);
}
static gboolean avrcp_handle_set_volume(struct avctp *conn,