remove inaccurate comment about deadlocking in torrent_handle

This commit is contained in:
Steven Siloti 2015-06-27 11:22:13 -07:00
parent c3347de3bf
commit d7a3b05fdc
1 changed files with 2 additions and 5 deletions

View File

@ -1230,11 +1230,8 @@ namespace libtorrent
} }
// This function is intended only for use by plugins and the alert // This function is intended only for use by plugins and the alert
// dispatch function. Any code that runs in libtorrent's network thread // dispatch function. This type does not have a stable API and should
// may not use the public API of torrent_handle. Doing so results in a // be relied on as little as possible.
// 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.
boost::shared_ptr<torrent> native_handle() const; boost::shared_ptr<torrent> native_handle() const;
private: private: