From da17b30e6361bb0df324041caa06056d69d39cc1 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 19 Nov 2007 05:18:50 +0000 Subject: [PATCH] proxy_base shutdown fix --- include/libtorrent/proxy_base.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libtorrent/proxy_base.hpp b/include/libtorrent/proxy_base.hpp index 7ade2a0a9..037a1c2d4 100644 --- a/include/libtorrent/proxy_base.hpp +++ b/include/libtorrent/proxy_base.hpp @@ -123,6 +123,7 @@ public: { m_remote_endpoint = endpoint_type(); m_sock.close(); + m_resolver.cancel(); } void close(asio::error_code& ec)