From 58aac4ff9807807b18179bbab68546207c8468b7 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Tue, 10 Oct 2017 13:25:57 -0700 Subject: [PATCH] 'AGT-99' --- routes/shepherd.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/routes/shepherd.js b/routes/shepherd.js index 0ed1b2d..6c07b90 100644 --- a/routes/shepherd.js +++ b/routes/shepherd.js @@ -3466,9 +3466,13 @@ shepherd.quitKomodod = function(timeout = 100) { shepherd.log(`exec error: ${error}`); } if (key === 'CHIPS') { - shepherd.killRogueProcess('chips-cli'); + setTimeout(function() { + shepherd.killRogueProcess('chips-cli'); + }, 100); } else { - shepherd.killRogueProcess('komodo-cli'); + setTimeout(function() { + shepherd.killRogueProcess('komodo-cli'); + }, 100); } }); }