diff --git a/lib/manager.js b/lib/manager.js index 9d72a54e94..b3ea7d9240 100644 --- a/lib/manager.js +++ b/lib/manager.js @@ -113,6 +113,7 @@ function Manager (server, options) { // reset listeners this.oldListeners = server.listeners('request').splice(0); + server.removeAllListeners('request'); server.on('request', function (req, res) { self.handleRequest(req, res);