pyre-cli 3.10.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
- package/src/p2p/server.ts +5 -1
package/dist/index.js
CHANGED
|
@@ -2301,7 +2301,10 @@ var P2PServer = class {
|
|
|
2301
2301
|
this.sendSigned(peer, signMessage("disconnect", { reason }, this.hmacKey));
|
|
2302
2302
|
} catch {
|
|
2303
2303
|
}
|
|
2304
|
-
|
|
2304
|
+
try {
|
|
2305
|
+
peer.socket.end();
|
|
2306
|
+
} catch {
|
|
2307
|
+
}
|
|
2305
2308
|
}
|
|
2306
2309
|
cleanupPeer(peer) {
|
|
2307
2310
|
if (peer.intervalHandle) {
|
package/package.json
CHANGED
package/src/p2p/server.ts
CHANGED