MythTV/mythtv — pull request #63 by sdrik (2014-01-12 10:03:57+00:00)
Title: Fix issue #11306: Master backend crashes when a slave backend disconnects

Protect pbs with proper (aka locked) refcounting.

The PlaybackSock must not be immediatly deleted on connectionClosed() if some other requests are still using it. This leads to segfaults in the MBE when a SBE disconnects.