mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +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
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue