Open andrewosh opened 2 years ago
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.
lib/extension.js
destroy()
Hypercore.createProtocolStream(...).registerExtension(...)
We'll need to add this.
Right now Hypercore extensions (in
lib/extension.js
) can be destroyed through adestroy()
method, but protocol stream extensions (Hypercore.createProtocolStream(...).registerExtension(...)
) do not support destroying.We'll need to add this.