Stream extensions need a destroy method
andrewosh opened this issue · comments
Andrew Osheroff commented
Right now Hypercore extensions (in lib/extension.js
) can be destroyed through a destroy()
method, but protocol stream extensions (Hypercore.createProtocolStream(...).registerExtension(...)
) do not support destroying.
We'll need to add this.