1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

fix: set the destructor log level to trace (#2820)

Fixes #2816.
This commit is contained in:
Charles Kerr 2022-03-25 14:14:27 -05:00 committed by GitHub
parent 7905244320
commit 9451446e6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -855,7 +855,7 @@ static void io_dtor(tr_peerIo* const io)
TR_ASSERT(tr_amInEventThread(io->session));
TR_ASSERT(io->session->events != nullptr);
tr_logAddDebugIo(io, "in tr_peerIo destructor");
tr_logAddTraceIo(io, "in tr_peerIo destructor");
event_disable(io, EV_READ | EV_WRITE);
delete io->bandwidth;
io_close_socket(io);
@ -873,7 +873,7 @@ static void tr_peerIoFree(tr_peerIo* io)
{
if (io != nullptr)
{
tr_logAddDebugIo(io, "in tr_peerIoFree");
tr_logAddTraceIo(io, "in tr_peerIoFree");
io->canRead = nullptr;
io->didWrite = nullptr;
io->gotError = nullptr;