Comparing version 4.1.6 to 4.1.7
@@ -174,2 +174,3 @@ const { EventEmitter } = require('events') | ||
destroy () { | ||
if (this.destroyed) return | ||
this.destroyed = true | ||
@@ -176,0 +177,0 @@ this._io.destroy() |
@@ -204,2 +204,3 @@ const { Message, Holepunch, TYPE } = require('./messages') | ||
send (buffer, peer) { | ||
if (this._ctx.destroyed) return | ||
this.socket.send(buffer, 0, buffer.length, peer.port, peer.host) | ||
@@ -206,0 +207,0 @@ } |
{ | ||
"name": "dht-rpc", | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"description": "Make RPC calls over a Kademlia based DHT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48469
1404