Skip to content

Commit

Permalink
[addons] fix InstallUpdatesAndWait
Browse files Browse the repository at this point in the history
bad refactoring in 02a2764de2
  • Loading branch information
tamland committed Feb 26, 2017
1 parent 81a0ee4 commit c91962d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/addons/AddonInstaller.cpp
Expand Up @@ -444,6 +444,7 @@ void CAddonInstaller::InstallUpdates()

void CAddonInstaller::InstallUpdatesAndWait()
{
InstallUpdates();
CSingleLock lock(m_critSection);
if (!m_downloadJobs.empty())
{
Expand Down

0 comments on commit c91962d

Please sign in to comment.