Merge remote-tracking branch 'origin/zombies'

* origin/zombies:
  parent: don't send messages on streams that no longer exist; closes #480
issue510
David Wilson 6 years ago
commit fa53e1cf6a

@ -1677,6 +1677,10 @@ class RouteMonitor(object):
:param str name: :param str name:
Context name or :data:`None`. Context name or :data:`None`.
""" """
if not stream:
# We may not have a stream during shutdown.
return
data = str(target_id) data = str(target_id)
if name: if name:
data = '%s:%s' % (target_id, name) data = '%s:%s' % (target_id, name)

Loading…
Cancel
Save