~albaguirre/media-hub/fix-using-dead-objects

Viewing all changes in revision 69.

  • Committer: CI bot
  • Author(s): Alberto Aguirre
  • Date: 2014-09-26 04:05:52 UTC
  • mfrom: (67.2.4 fix-1371454)
  • Revision ID: ps-jenkins@lists.canonical.com-20140926040552-gv0u67kopamnd5qy
Fix self deadlock when clients disconnect from media::Player

When receiving a media::PlayerImplementation on_client_disconnected signal, avoid calling
remove_player_for_key within the same context as the player object may be deleted (which owns
the signal object whose destructor waits until all slots are dispatched). Fixes: 1371454
Approved by: Jim Hodapp, Thomas Voß

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: