Compare commits
2 Commits
3b6448fec8
...
5f733195c4
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 5f733195c4 | |
Derrick Hammer | 2a533d6f7f |
|
@ -317,6 +317,12 @@ async function handleListenConnections(aq: ActiveQuery) {
|
||||||
swarm.off("connection", listener);
|
swarm.off("connection", listener);
|
||||||
aq.respond();
|
aq.respond();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
swarm.activeRelay.dht.once("close", () => {
|
||||||
|
swarm.off("connection", listener);
|
||||||
|
swarm.emit("close");
|
||||||
|
aq.respond();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleGetSocketInfo(aq: ActiveQuery) {
|
async function handleGetSocketInfo(aq: ActiveQuery) {
|
||||||
|
|
Loading…
Reference in New Issue