From adf5051d467f0384e046d5c6e37092a04c9baa58 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 17 Feb 2023 23:11:24 -0600 Subject: [PATCH] fix: revert tr_torrentStat() acquires a session thread lock (#4571) This reverts commit e4b480ecd45f79ff302a60ad2347a10e8dd7d4db. --- libtransmission/torrent.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libtransmission/torrent.cc b/libtransmission/torrent.cc index 941cf0579..675f0ea0f 100644 --- a/libtransmission/torrent.cc +++ b/libtransmission/torrent.cc @@ -1476,7 +1476,6 @@ tr_stat const* tr_torrentStat(tr_torrent* tor) using namespace stat_helpers; TR_ASSERT(tr_isTorrent(tor)); - auto const lock = tor->unique_lock(); auto const now = tr_time_msec(); auto const now_sec = tr_time();