*Fix typo
This commit is contained in:
parent
2a533d6f7f
commit
5f733195c4
|
@ -318,7 +318,7 @@ async function handleListenConnections(aq: ActiveQuery) {
|
|||
aq.respond();
|
||||
});
|
||||
|
||||
swarm.activeRelay.dht.one("close", () => {
|
||||
swarm.activeRelay.dht.once("close", () => {
|
||||
swarm.off("connection", listener);
|
||||
swarm.emit("close");
|
||||
aq.respond();
|
||||
|
|
Loading…
Reference in New Issue