This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
ipfs.stop leaves process hanging #1168
Closed
Description
- Version: 0.27.5
- Platform: Node.js
- Subsystem: n/a
Type:
Bug
Severity:
High
Description:
ipfs.stop(cb)
calls cb
but does not completely stop the node.
wtfnode
says that the following interval is still active:
- Intervals:
- (3600000 ~ 60 min) (anonymous) @ /Users/alan/Code/protocol-labs/ipfs-postmsg-proxy/node_modules/libp2p-kad-dht/src/providers.js:203
Note libp2p-kad-dht/src/providers.js:203
sets up a function to "cleanup" every hour, but this cannot be canceled.
Steps to reproduce the error:
Create a new js-ipfs instance and call stop
, your Node.js process will not exit.