From 549641bf4a728709119509252a6a19ff0cd42b8c Mon Sep 17 00:00:00 2001 From: Cayman Date: Thu, 15 Jun 2023 10:46:32 -0400 Subject: [PATCH] fix: unhandle protocol on stop (#438) --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 80f41d45..c0bef97b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -636,6 +636,7 @@ export class GossipSub extends EventEmitter implements PubSub registrar.unhandle(multicodec))) registrarTopologyIds.forEach((id) => registrar.unregister(id)) this.outboundInflightQueue.end()