Skip to content

Commit

Permalink
Merge pull request #3938 from xoriole/tftp_issue_3932
Browse files Browse the repository at this point in the history
TFTP shutdowns before Dispersy now
  • Loading branch information
devos50 committed Oct 4, 2018
2 parents 30b17a7 + d612287 commit 7fc18d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tribler/Core/APIImplementation/LaunchManyCore.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,10 @@ def early_shutdown(self):

self.tracker_manager = None

if self.tftp_handler is not None:
yield self.tftp_handler.shutdown()
self.tftp_handler = None

if self.tunnel_community and self.trustchain_community:
# We unload these overlays manually since the TrustChain has to be unloaded after the tunnel overlay.
tunnel_community = self.tunnel_community
Expand Down Expand Up @@ -965,10 +969,6 @@ def early_shutdown(self):
yield self.metadata_store.close()
self.metadata_store = None

if self.tftp_handler is not None:
yield self.tftp_handler.shutdown()
self.tftp_handler = None

if self.channelcast_db is not None:
yield self.channelcast_db.close()
self.channelcast_db = None
Expand Down

0 comments on commit 7fc18d9

Please sign in to comment.