delete container on network error

This commit is contained in:
Girish Ramakrishnan
2015-11-10 21:56:17 -08:00
parent 3766d67daa
commit 8f05917d97
2 changed files with 9 additions and 2 deletions

View File

@@ -368,6 +368,8 @@ function exec(req, res, next) {
duplexStream.pipe(res.socket);
res.socket.pipe(duplexStream);
res.on('close', duplexStream.close);
});
}