mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
close upnp on close
This commit is contained in:
parent
04ad4ae7be
commit
0f8199dbab
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue