Merge lp:~phablet-team/media-hub/fix-1479036 into lp:media-hub/stable
Proposed by
Jim Hodapp
Status: | Merged |
---|---|
Approved by: | Alfonso Sanchez-Beato |
Approved revision: | 173 |
Merged at revision: | 170 |
Proposed branch: | lp:~phablet-team/media-hub/fix-1479036 |
Merge into: | lp:media-hub/stable |
Diff against target: |
173 lines (+83/-23) 2 files modified
src/core/media/service_implementation.cpp (+38/-7) src/core/media/service_skeleton.cpp (+45/-16) |
To merge this branch: | bzr merge lp:~phablet-team/media-hub/fix-1479036 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alfonso Sanchez-Beato | Approve | ||
Review via email: mp+280872@code.launchpad.net |
Commit message
Fix bug #1479036 which prevents the out_of_range exception from causing media-hub-server from crashing when a player key is not found
Description of the change
Fix bug #1479036 which prevents the out_of_range exception from causing media-hub-server from crashing when a player key is not found
To post a comment you must log in.
Some issues, mostly related to handling this in the caller of these functions instead so errors can be returned in the DBus response. An example where this is already performed is in ServiceSkeleton ::handle_ set_current_ player( ).
The only exception is probably the handler of player- >on_client_ disconnected( ), as the trigger is not a DBus function in that case.