From d7eb787c8820517848df49ce0d397f76c70cd519 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 31 Mar 2009 07:57:57 +0000 Subject: [PATCH] reset the io_service in case it exits prematurely --- src/session_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 571d85f2a..fbc1025de 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -1777,6 +1777,7 @@ namespace aux { #endif TORRENT_ASSERT(false); } + m_io_service.reset(); } while (!m_abort);