Skip to content

Commit 444b7d6

Browse files
author
Marc Hartmayer
committed
parent: use protocol for getting remote_id
Fixes 8d1b01d ("Refactor Stream, introduce quasi-asynchronous connect, much more").
1 parent 8eeff66 commit 444b7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mitogen/parent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2331,7 +2331,7 @@ def disconnect(self, context):
23312331
directly connected.
23322332
"""
23332333
stream = self.stream_by_id(context)
2334-
if stream.remote_id != context.context_id:
2334+
if stream.protocol.remote_id != context.context_id:
23352335
return
23362336

23372337
l = mitogen.core.Latch()

0 commit comments

Comments
 (0)