Commit d084950b authored by Max Kellermann's avatar Max Kellermann

input/qobuz: dispose the TidalLoginRequest earlier

parent 2ce10f2f
...@@ -90,6 +90,7 @@ TidalSessionManager::OnTidalLoginError(std::exception_ptr e) noexcept ...@@ -90,6 +90,7 @@ TidalSessionManager::OnTidalLoginError(std::exception_ptr e) noexcept
{ {
{ {
const std::lock_guard<Mutex> protect(mutex); const std::lock_guard<Mutex> protect(mutex);
login_request.reset();
error = e; error = e;
} }
...@@ -107,6 +108,4 @@ TidalSessionManager::InvokeHandlers() noexcept ...@@ -107,6 +108,4 @@ TidalSessionManager::InvokeHandlers() noexcept
const ScopeUnlock unlock(mutex); const ScopeUnlock unlock(mutex);
h.OnTidalSession(); h.OnTidalSession();
} }
login_request.reset();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment