docker event stream can be null if it errored
This commit is contained in:
@@ -194,7 +194,7 @@ function stop(callback) {
|
|||||||
assert.strictEqual(typeof callback, 'function');
|
assert.strictEqual(typeof callback, 'function');
|
||||||
|
|
||||||
clearTimeout(gRunTimeout);
|
clearTimeout(gRunTimeout);
|
||||||
gDockerEventStream.end();
|
if (gDockerEventStream) gDockerEventStream.end();
|
||||||
|
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user