Skip to content

Commit

Permalink
Properly shutting down DHT health manager
Browse files Browse the repository at this point in the history
  • Loading branch information
devos50 committed Apr 3, 2019
1 parent 0487e2f commit 06a079b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tribler/Core/Libtorrent/LibtorrentMgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ def shutdown(self, timeout=30):

self.shutdown_task_manager()

if self.dht_health_manager:
self.dht_health_manager.shutdown_task_manager()

# remove all upnp mapping
for upnp_handle in self.upnp_mapping_dict.values():
self.get_session().delete_port_mapping(upnp_handle)
Expand Down

0 comments on commit 06a079b

Please sign in to comment.