aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorksooo <3226626+ksooo@users.noreply.github.com>2024-03-22 19:22:07 +0100
committerksooo <3226626+ksooo@users.noreply.github.com>2024-03-22 19:51:30 +0100
commitb08dfd31f9a69441b1215f54232c69bdf6a4860a (patch)
treea1e683edfab7dd05823d7b3858d53c561d673d0f
parentc976aa91cd739ac580510bf22d49269eeab9893f (diff)
[addons] Fix addonmgr/profilemgr deadlock when switching profiles
-rw-r--r--xbmc/addons/AddonManager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/xbmc/addons/AddonManager.cpp b/xbmc/addons/AddonManager.cpp
index 7acc39107f..2922b66974 100644
--- a/xbmc/addons/AddonManager.cpp
+++ b/xbmc/addons/AddonManager.cpp
@@ -249,7 +249,6 @@ std::vector<std::shared_ptr<IAddon>> CAddonMgr::GetOutdatedAddons() const
std::vector<std::shared_ptr<IAddon>> CAddonMgr::GetAvailableUpdatesOrOutdatedAddons(
AddonCheckType addonCheckType) const
{
- std::unique_lock<CCriticalSection> lock(m_critSection);
auto start = std::chrono::steady_clock::now();
std::vector<std::shared_ptr<IAddon>> result;