forked from LBRYCommunity/lbry-sdk
make sure upnp is neither set nor unset if upnp is disabled
This commit is contained in:
parent
e4c2585e23
commit
7a3bdf93e9
1 changed files with 2 additions and 1 deletions
|
@ -148,6 +148,7 @@ class LBRYSession(object):
|
|||
ds.append(defer.maybeDeferred(self.wallet.stop))
|
||||
if self.blob_manager is not None:
|
||||
ds.append(defer.maybeDeferred(self.blob_manager.stop))
|
||||
if self.use_upnp is True:
|
||||
ds.append(defer.maybeDeferred(self._unset_upnp))
|
||||
return defer.DeferredList(ds)
|
||||
|
||||
|
|
Loading…
Reference in a new issue