Procházet zdrojové kódy

Fix container monitor cleanup function

The intent here is clearly to clear both the timeout and the interval.
Eric Mc Sween před 6 roky
rodič
revize
a853950a99
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      services/clsi/app/js/DockerRunner.js

+ 2 - 2
services/clsi/app/js/DockerRunner.js

@@ -611,8 +611,8 @@ const DockerRunner = {
       containerMonitorTimeout = undefined
     }
     if (containerMonitorInterval) {
-      clearInterval(containerMonitorTimeout)
-      containerMonitorTimeout = undefined
+      clearInterval(containerMonitorInterval)
+      containerMonitorInterval = undefined
     }
   }
 }