close upnp on close

This commit is contained in:
Marcos Pinto 2007-12-07 22:02:34 +00:00
parent 04ad4ae7be
commit 0f8199dbab
1 changed files with 3 additions and 0 deletions

View File

@ -289,6 +289,9 @@ class Manager:
# Stop DHT, if needed
self.set_DHT(False)
#close upnp
deluge_core.use_upnp(0)
if self.config.get("use_compact_storage"):
for unique_ID in self.unique_IDs.keys():
self.pause(unique_ID)