Skip to content

Commit

Permalink
pvr: must lock PVRClients section when creating new addons
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus committed Sep 11, 2012
1 parent c36ffcb commit 38aecd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/pvr/addons/PVRClients.cpp
Expand Up @@ -836,6 +836,8 @@ bool CPVRClients::UpdateAndInitialiseClients(bool bInitialiseAllClients /* = fal
}
else
{
CSingleLock lock(m_critSection);

PVR_CLIENT addon;
if (!GetClient(iClientId, addon))
{
Expand Down

0 comments on commit 38aecd1

Please sign in to comment.