feat: Align active filter macOS (#3944)

This commit is contained in:
A Cœur
2022-11-08 01:20:15 +08:00
committed by GitHub
parent 91e5cf31f6
commit d2ee0d2d08
3 changed files with 14 additions and 4 deletions

View File

@@ -2823,7 +2823,7 @@ void onTorrentCompletenessChanged(tr_torrent* tor, tr_completeness status, bool
//check status
if (torrent.active && !torrent.checkingWaiting)
{
BOOL const isActive = !torrent.stalled;
BOOL const isActive = torrent.transmitting;
if (isActive)
{
std::atomic_fetch_add_explicit(activeRef, 1, std::memory_order_relaxed);