From 6af2da2cc9d82fff7e1bcf2fcec96f6a7d5d2fba Mon Sep 17 00:00:00 2001 From: jmarshallnz Date: Tue, 6 May 2014 10:49:46 +1200 Subject: [PATCH] Merge pull request #4655 from codesnake/allow_restart_of_a_pvr_addon_while_in_create Allow restart of a PVR addon while it is still creating --- xbmc/pvr/addons/PVRClients.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/pvr/addons/PVRClients.cpp b/xbmc/pvr/addons/PVRClients.cpp index 14c9cde..8a59e93 100644 --- a/xbmc/pvr/addons/PVRClients.cpp +++ b/xbmc/pvr/addons/PVRClients.cpp @@ -203,7 +203,7 @@ bool CPVRClients::StopClient(AddonPtr client, bool bRestart) CSingleLock lock(m_critSection); int iId = GetClientId(client); PVR_CLIENT mappedClient; - if (GetConnectedClient(iId, mappedClient)) + if (GetClient(iId, mappedClient)) { if (bRestart) mappedClient->ReCreate(); -- 2.7.4