input/qobuz: dispose the TidalLoginRequest earlier
This commit is contained in:
parent
2ce10f2fed
commit
d084950b1a
|
@ -90,6 +90,7 @@ TidalSessionManager::OnTidalLoginError(std::exception_ptr e) noexcept
|
|||
{
|
||||
{
|
||||
const std::lock_guard<Mutex> protect(mutex);
|
||||
login_request.reset();
|
||||
error = e;
|
||||
}
|
||||
|
||||
|
@ -107,6 +108,4 @@ TidalSessionManager::InvokeHandlers() noexcept
|
|||
const ScopeUnlock unlock(mutex);
|
||||
h.OnTidalSession();
|
||||
}
|
||||
|
||||
login_request.reset();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue