From 1bccbebbf2ab850c82c666bfe3e52bdda3ff8c10 Mon Sep 17 00:00:00 2001 From: sennevb Date: Tue, 24 Oct 2017 06:06:46 +0200 Subject: [PATCH] Update api.js --- libs/api.js | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/api.js b/libs/api.js index 9743f74..1b41611 100644 --- a/libs/api.js +++ b/libs/api.js @@ -110,7 +110,6 @@ module.exports = function(logger, portalConfig, poolConfigs){ }); res.write('\n'); var uid = Math.random().toString(); - req.on("close", function() { _this.liveStatConnections[uid] = res; res.flush(); req.on("close", function() {