Merge pull request #4655 from codesnake/allow_restart_of_a_pvr_addon_while_in_create
[vuplus_xbmc] / xbmc / pvr / addons / PVRClients.cpp
index 14c9cde..8a59e93 100644 (file)
@@ -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();