diff --git a/libtorrent/src/kademlia/rpc_manager.cpp b/libtorrent/src/kademlia/rpc_manager.cpp index f87109df..5557b8bc 100644 --- a/libtorrent/src/kademlia/rpc_manager.cpp +++ b/libtorrent/src/kademlia/rpc_manager.cpp @@ -505,7 +505,10 @@ observer::~observer() // reported back to the traversal_algorithm as // well. If it wasn't sent, it cannot have been // reported back + /* [MF] this assert seems too strict. Some usages of rpc_manager::invoke, for + * example, don't test the return value (false) which indicates that packet was not sent. TORRENT_ASSERT(m_was_sent == bool(flags & flag_done) || m_was_abandoned); + */ TORRENT_ASSERT(!m_in_constructor); #if defined TORRENT_DEBUG || TORRENT_RELEASE_ASSERTS TORRENT_ASSERT(m_in_use);