Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[pvr] fixed deadlock in CPVRManager::CheckParentalLock when the manag…

…er is being stopped
  • Loading branch information...
commit 2d221752d3053f070a3f8fde6394190da24affde 1 parent 02f2a4d
Lars Op den Kamp opdenkamp authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  xbmc/pvr/PVRManager.cpp
3  xbmc/pvr/PVRManager.cpp
@@ -759,6 +759,9 @@ bool CPVRManager::CheckParentalLock(const CPVRChannel &channel)
759 759 bool CPVRManager::IsParentalLocked(const CPVRChannel &channel)
760 760 {
761 761 bool bReturn(false);
  762 + CSingleLock lock(m_managerStateMutex);
  763 + if (!IsStarted())
  764 + return bReturn;
762 765 CPVRChannelPtr currentChannel(new CPVRChannel(false));
763 766
764 767 if (// different channel

0 comments on commit 2d22175

Please sign in to comment.
Something went wrong with that request. Please try again.