close upnp on close
This commit is contained in:
parent
04ad4ae7be
commit
0f8199dbab
|
@ -289,6 +289,9 @@ class Manager:
|
||||||
# Stop DHT, if needed
|
# Stop DHT, if needed
|
||||||
self.set_DHT(False)
|
self.set_DHT(False)
|
||||||
|
|
||||||
|
#close upnp
|
||||||
|
deluge_core.use_upnp(0)
|
||||||
|
|
||||||
if self.config.get("use_compact_storage"):
|
if self.config.get("use_compact_storage"):
|
||||||
for unique_ID in self.unique_IDs.keys():
|
for unique_ID in self.unique_IDs.keys():
|
||||||
self.pause(unique_ID)
|
self.pause(unique_ID)
|
||||||
|
|
Loading…
Reference in New Issue