aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/pvr/PVRManager.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xbmc/pvr/PVRManager.cpp b/xbmc/pvr/PVRManager.cpp
index d7ae2197f3..304ec679d7 100644
--- a/xbmc/pvr/PVRManager.cpp
+++ b/xbmc/pvr/PVRManager.cpp
@@ -239,9 +239,7 @@ void CPVRManager::Process(void)
if (GetState() == ManagerStateStarted)
{
CLog::Log(LOGNOTICE, "PVRManager - %s - no add-ons enabled anymore. restarting the pvrmanager", __FUNCTION__);
- Stop();
- Start();
- return;
+ CApplicationMessenger::Get().ExecBuiltIn("StartPVRManager", false);
}
}
@@ -326,7 +324,6 @@ bool CPVRManager::Load(void)
ShowProgressDialog(g_localizeStrings.Get(19238), 75); // Loading recordings from clients
m_recordings->Load();
- CSingleLock lock(m_critSection);
if (GetState() != ManagerStateStarting)
return false;