projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea5421
)
fixed: race condition when starting a new fresh profile besides master which leads...
author
WiSo
<wiso@xbmc.org>
Thu, 27 Dec 2012 14:48:43 +0000
(15:48 +0100)
committer
wsoltys
<wiso@no.way>
Sat, 29 Dec 2012 21:49:40 +0000
(22:49 +0100)
xbmc/addons/AddonInstaller.cpp
patch
|
blob
|
history
diff --git
a/xbmc/addons/AddonInstaller.cpp
b/xbmc/addons/AddonInstaller.cpp
index
f3135e4
..
cba3fb8
100644
(file)
--- a/
xbmc/addons/AddonInstaller.cpp
+++ b/
xbmc/addons/AddonInstaller.cpp
@@
-360,6
+360,9
@@
void CAddonInstaller::UpdateRepos(bool force, bool wait)
}
return;
}
+ // don't run repo update jobs while on the login screen which runs under the master profile
+ if((g_windowManager.GetActiveWindow() & WINDOW_ID_MASK) == WINDOW_LOGIN_SCREEN)
+ return;
if (!force && m_repoUpdateWatch.IsRunning() && m_repoUpdateWatch.GetElapsedSeconds() < 600)
return;
m_repoUpdateWatch.StartZero();