From 7eb752c2f76fb17c2e5a747673c6d4addc91899e Mon Sep 17 00:00:00 2001 From: groovecoder Date: Thu, 22 Jun 2017 08:39:07 -0500 Subject: [PATCH] fix #614: only call thisStudy.shutdown in shield --- study.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/study.js b/study.js index 5862e1c..e224f57 100644 --- a/study.js +++ b/study.js @@ -28,6 +28,8 @@ class ContainersStudy extends shield.Study { const thisStudy = new ContainersStudy(studyConfig); -unload((reason) => thisStudy.shutdown(reason)); +if (self.id === "@shield-study-containers") { + unload((reason) => thisStudy.shutdown(reason)); +} exports.study = thisStudy;