input/tidal: delete request objects upon completion
This commit is contained in:
parent
ab9d9541a8
commit
d6b62d7512
@ -102,6 +102,8 @@ TidalInputStream::OnTidalTrackSuccess(std::string url) noexcept
|
||||
{
|
||||
const std::lock_guard<Mutex> protect(mutex);
|
||||
|
||||
track_request.reset();
|
||||
|
||||
try {
|
||||
SetInput(OpenCurlInputStream(url.c_str(), {},
|
||||
mutex, cond));
|
||||
|
@ -74,6 +74,7 @@ TidalSessionManager::OnTidalLoginSuccess(std::string _session) noexcept
|
||||
{
|
||||
{
|
||||
const std::lock_guard<Mutex> protect(mutex);
|
||||
login_request.reset();
|
||||
session = std::move(_session);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user