Esempio n. 1
0
	void session::remove_torrent(const torrent_handle& h, int options)
	{
		if (!h.is_valid())
#ifdef BOOST_NO_EXCEPTIONS
			return;
#else
			throw_invalid_handle();
#endif
		TORRENT_ASYNC_CALL2(remove_torrent, h, options);
	}
Esempio n. 2
0
	void session::remove_torrent(const torrent_handle& h, int options)
	{
		TORRENT_ASYNC_CALL2(remove_torrent, h, options);
	}