uncaught error
This commit is contained in:
parent
a5b0b758b9
commit
9ff6ffcf42
1 changed files with 4 additions and 1 deletions
|
@ -1372,7 +1372,10 @@ class LBRYElectrumX(asyncio.Protocol):
|
|||
|
||||
async def hashX_unsubscribe(self, hashX, alias):
|
||||
sessions = self.session_manager.hashx_subscriptions_by_session[hashX]
|
||||
try:
|
||||
sessions.remove(id(self))
|
||||
except KeyError:
|
||||
pass
|
||||
if not sessions:
|
||||
self.hashX_subs.pop(hashX, None)
|
||||
|
||||
|
|
Loading…
Reference in a new issue