mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
fix: revert tr_torrentStat() acquires a session thread lock (#4571)
This reverts commit e4b480ecd4
.
This commit is contained in:
parent
b3abadf8ba
commit
adf5051d46
1 changed files with 0 additions and 1 deletions
|
@ -1476,7 +1476,6 @@ tr_stat const* tr_torrentStat(tr_torrent* tor)
|
||||||
using namespace stat_helpers;
|
using namespace stat_helpers;
|
||||||
|
|
||||||
TR_ASSERT(tr_isTorrent(tor));
|
TR_ASSERT(tr_isTorrent(tor));
|
||||||
auto const lock = tor->unique_lock();
|
|
||||||
|
|
||||||
auto const now = tr_time_msec();
|
auto const now = tr_time_msec();
|
||||||
auto const now_sec = tr_time();
|
auto const now_sec = tr_time();
|
||||||
|
|
Loading…
Reference in a new issue