diff --git a/lib/_debug_agent.js b/lib/_debug_agent.js index eedca7ef5843bb..2eed3b60af22cc 100644 --- a/lib/_debug_agent.js +++ b/lib/_debug_agent.js @@ -103,7 +103,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');