diff --git a/lib/_debug_agent.js b/lib/_debug_agent.js index c731ca374b5e87..a820b21615a2d7 100644 --- a/lib/_debug_agent.js +++ b/lib/_debug_agent.js @@ -107,7 +107,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');