xbmc/xbmc — pull request #1993 by wsoltys (2012-12-27 14:51:35+00:00)
Title: fixed: race condition when starting a new fresh profile besides master w...

...hich leads to an abort in cpluff. CAddonInstaller::UpdateRepos is called at startup and still runs if you login and CGUIWindowLoginScreen::LoadProfile calls ADDON::CAddonMgr::Get().ReInit() which leads to an invalid cpluff handle for the update job and aborts XBMC (#13826).

I created a pr as I dunno if this is the right way to fix it and if it could have other side effects. For me it runs fine and the update job is triggered again if the second profile is loaded.