input/qobuz: dispose the TidalLoginRequest earlier
This commit is contained in:
		@@ -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
 | 
				
			|||||||
		const ScopeUnlock unlock(mutex);
 | 
							const ScopeUnlock unlock(mutex);
 | 
				
			||||||
		h.OnTidalSession();
 | 
							h.OnTidalSession();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					 | 
				
			||||||
	login_request.reset();
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user