Skip to content

Conversation

@tomaka
Copy link
Member

@tomaka tomaka commented Sep 14, 2018

If we receive a new connection to a peer that replaces an existing task, we have to put the former task in the Interrupted state so that events don't propagate.

Copy link
Contributor

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can confirm it fixes the panic for me.

@tomaka tomaka merged commit 2a7a48b into libp2p:master Sep 14, 2018
@tomaka tomaka deleted the fix-replace branch September 14, 2018 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants