Skip to content

Preventing unexpected close error that occurs with newer version of hypercore#231

Merged
mafintosh merged 4 commits intoholepunchto:masterfrom
martinheidegger:fix/close-error
Jan 5, 2019
Merged

Preventing unexpected close error that occurs with newer version of hypercore#231
mafintosh merged 4 commits intoholepunchto:masterfrom
martinheidegger:fix/close-error

Conversation

@martinheidegger
Copy link
Copy Markdown
Contributor

Hypercore introduced a new error to callbacks when closing.
This should have probably been a breaking change, as it triggers a new error on close in hyperdrive.

This PR adds a test for the new error case 33e0aca and fixes it by using a flag if the hypercore is closed 79d10ad.

@martinheidegger martinheidegger changed the title Close error occurs with newer version of hypercore and a fix. Preventing unexpected close error that occurs with newer version of hypercore Dec 13, 2018
@mafintosh mafintosh merged commit 2b63ac5 into holepunchto:master Jan 5, 2019
@mafintosh
Copy link
Copy Markdown
Contributor

Thanks! 9.14.1

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.

2 participants