From fb431cb1c16ba5974ebd58b7cd6a7c263e7b90f7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 18 Jul 2022 11:40:58 -0500 Subject: [PATCH] fix: 3415 assert failure in webseed.requestBlocks (#3470) Fixes #3415. --- libtransmission/webseed.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/libtransmission/webseed.cc b/libtransmission/webseed.cc index 7ed8d33af..45363c587 100644 --- a/libtransmission/webseed.cc +++ b/libtransmission/webseed.cc @@ -271,9 +271,6 @@ public: void requestBlocks(tr_block_span_t const* block_spans, size_t n_spans) override { auto* const tor = getTorrent(); - TR_ASSERT(tor != nullptr); - TR_ASSERT(tor->isRunning); - TR_ASSERT(!tor->isDone()); if (tor == nullptr || !tor->isRunning || tor->isDone()) { return;