From 93b163f3a40bec7434728f08a877129f0f0f9105 Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Thu, 30 Mar 2017 21:50:24 +0200 Subject: [PATCH 1/2] adding lots of let instead of globals to see what happens with the leaks #48 is the one --- client.js | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/client.js b/client.js index bf9df53f..48035ff4 100644 --- a/client.js +++ b/client.js @@ -403,7 +403,7 @@ function instanceManagement() { setTimeout(function(){hashMods(instance, uploadMods)}, 5000); function uploadMods(modHashes) { // [{modName:string,hash:string}, ... ] - for(i=0;i Date: Fri, 31 Mar 2017 16:25:25 +0200 Subject: [PATCH 2/2] Fixed missing sync-request --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 92c979b5..49ab47db 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "needle": "^1.1.0", "portfinder": "^1.0.9", "request": "^2.79.0", - "simple-rcon": "^0.3.1" + "simple-rcon": "^0.3.1", + "sync-request": "^4.0.1" } }