From 01c9cc04cd1736b1561dc2bb52b2b332467464de Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 9 Apr 2007 01:35:23 +0000 Subject: [PATCH] fixed lock in python binding --- bindings/python/src/session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 4ee1a67a3..51345ad91 100755 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -80,6 +80,7 @@ namespace , boost::filesystem::path const& save, entry const& resume , bool compact, int block_size) { + allow_threading_guard guard; return s.add_torrent(ti, save, resume, compact, block_size , default_storage_constructor); }