orbitdb-archive / orbit

A distributed, serverless, peer-to-peer chat application on IPFS
MIT License
1.64k stars 117 forks source link

Cleanly shut down daemon #193

Open haadcode opened 7 years ago

haadcode commented 7 years ago

Currently the daemon doesn't shut down cleanly due to:

This is due to js-ipfs-spi being on the main process and we don't "reload" it when shutting down the daemon.

A good solution here would be to fix the issues directly in js-ipfs-api so that all state is per instance (and doesn't leak through like it does now).