Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: handler attempts to unsubscribe to stopped node #42

Open
coyotespike opened this issue May 22, 2018 · 0 comments
Open

Bug: handler attempts to unsubscribe to stopped node #42

coyotespike opened this issue May 22, 2018 · 0 comments

Comments

@coyotespike
Copy link

  • Version: version: '0.28.1', repo: 6, commit: ''
  • Platform: Ubuntu
  • Subsystem: libp2p

Type: Bug

Severity: Medium

Description: When running tests with Jest, one test produces this error before going on to complete successfully.

As discussed here, when calling ipfs.stop() as part of a test, the error libp2p node is not started yet is thrown.

@alanshaw reports this appears to be due to a handler attempting to unsubscribe to the already-stopped node.

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

No branches or pull requests

1 participant