Skip to content

Conversation

@alanshaw
Copy link
Member

@alanshaw alanshaw commented Dec 3, 2019

The interface tests in ipfs-inactive/js-ipfs-http-client#1183 have started throwing UnhandledPromiseRejections for a connection refused error to /api/v0/shutdown. This is because stop was being called and then called again in killProcess.

With callbacks this error was smothered but it is now appearing with the promise-only API.

The interface tests in ipfs-inactive/js-ipfs-http-client#1183 have started throwing `UnhandledPromiseRejection`s for a connection refused error to `/api/v0/shutdown`. This is because `stop` was being called and then called again in `killProcess`.

With callbacks this error was smothered but it is now appearing with the promise-only API.
@alanshaw alanshaw closed this Dec 23, 2019
@alanshaw alanshaw deleted the fix/do-not-call-shutdown-twice branch December 23, 2019 22:06
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