diff --git a/lib/_debug_agent.js b/lib/_debug_agent.js index 58293b17f84db5..fd89d5a5cc5211 100644 --- a/lib/_debug_agent.js +++ b/lib/_debug_agent.js @@ -108,7 +108,7 @@ function Client(agent, socket) { } util.inherits(Client, Transform); -Client.prototype.destroy = function destroy(msg) { +Client.prototype.destroy = function destroy() { this.socket.destroy(); this.emit('close');