xbmc/xbmc — pull request #1930 by theuni (2012-12-13 22:13:00+00:00)
Title: Fix deadlock on exit when a pvr addon failed to connect

As far as I know, this has only been observed on android, but there's nothing platform-specific about this, so it is likely due to a change in thread timings.

Fixes the deadlock in https://github.com/opdenkamp/xbmc-pvr-addons/issues/104 . See there and the commit messages for discussion/rationale.

@opdenkamp @FernetMenta @jimfcarroll Any thoughts would be appreciated. I'm confident that the issue is resolved, but I wonder if it's worth trying to fix the root cause as well, to avoid this elsewhere.