Comparing version 2.0.10 to 2.0.11
@@ -104,2 +104,5 @@ (function() { | ||
Socket.prototype._route = function(message) { | ||
if (this.ended) { | ||
return; | ||
} | ||
switch (message.command) { | ||
@@ -169,2 +172,5 @@ case A_SYNC: | ||
var parser, pump; | ||
if (_this.ended) { | ||
return; | ||
} | ||
debug("Calling " + service); | ||
@@ -265,2 +271,5 @@ _this.services.put(remoteId, transport); | ||
var header; | ||
if (this.ended) { | ||
return; | ||
} | ||
header = new Buffer(24); | ||
@@ -277,2 +286,5 @@ header.writeUInt32LE(command, 0); | ||
Socket.prototype._writeMessage = function(command, arg0, arg1, data) { | ||
if (this.ended) { | ||
return; | ||
} | ||
if (!Buffer.isBuffer(data)) { | ||
@@ -279,0 +291,0 @@ data = new Buffer(data); |
{ | ||
"name": "adbkit", | ||
"version": "2.0.10", | ||
"version": "2.0.11", | ||
"description": "A pure Node.js client for the Android Debug Bridge.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
180135
3486