Flush correct queue

This commit is contained in:
Jonas Kvinge 2022-06-12 02:28:02 +02:00
parent fa3891e383
commit abdcadb5fa
2 changed files with 2 additions and 2 deletions

View File

@ -960,7 +960,7 @@ void QobuzRequest::SongsFinishCheck(const QString &artist_id, const QString &alb
}
}
if (!songs_requests_queue_.isEmpty() && songs_requests_active_ < kMaxConcurrentAlbumSongsRequests) FlushAlbumSongsRequests();
if (!songs_requests_queue_.isEmpty() && songs_requests_active_ < kMaxConcurrentSongsRequests) FlushSongsRequests();
if (!album_songs_requests_queue_.isEmpty() && album_songs_requests_active_ < kMaxConcurrentAlbumSongsRequests) FlushAlbumSongsRequests();
if (

View File

@ -926,7 +926,7 @@ void TidalRequest::SongsFinishCheck(const QString &artist_id, const QString &alb
}
}
if (!songs_requests_queue_.isEmpty() && songs_requests_active_ < kMaxConcurrentAlbumSongsRequests) FlushAlbumSongsRequests();
if (!songs_requests_queue_.isEmpty() && songs_requests_active_ < kMaxConcurrentSongsRequests) FlushSongsRequests();
if (!album_songs_requests_queue_.isEmpty() && album_songs_requests_active_ < kMaxConcurrentAlbumSongsRequests) FlushAlbumSongsRequests();
if (