Fix container monitor cleanup function
The intent here is clearly to clear both the timeout and the interval.
This commit is contained in:
@@ -611,8 +611,8 @@ const DockerRunner = {
|
|||||||
containerMonitorTimeout = undefined
|
containerMonitorTimeout = undefined
|
||||||
}
|
}
|
||||||
if (containerMonitorInterval) {
|
if (containerMonitorInterval) {
|
||||||
clearInterval(containerMonitorTimeout)
|
clearInterval(containerMonitorInterval)
|
||||||
containerMonitorTimeout = undefined
|
containerMonitorInterval = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user