From d7a3b05fdc539ffaa0cf1a5caa4a4537c9ccbd38 Mon Sep 17 00:00:00 2001 From: Steven Siloti Date: Sat, 27 Jun 2015 11:22:13 -0700 Subject: [PATCH] remove inaccurate comment about deadlocking in torrent_handle --- include/libtorrent/torrent_handle.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/libtorrent/torrent_handle.hpp b/include/libtorrent/torrent_handle.hpp index 08c6e1547..521a41604 100644 --- a/include/libtorrent/torrent_handle.hpp +++ b/include/libtorrent/torrent_handle.hpp @@ -1230,11 +1230,8 @@ namespace libtorrent } // This function is intended only for use by plugins and the alert - // dispatch function. Any code that runs in libtorrent's network thread - // may not use the public API of torrent_handle. Doing so results in a - // dead-lock. For such routines, the ``native_handle`` gives access to - // the underlying type representing the torrent. This type does not have - // a stable API and should be relied on as little as possible. + // dispatch function. This type does not have a stable API and should + // be relied on as little as possible. boost::shared_ptr native_handle() const; private: