refactor: exit

This commit is contained in:
cha0s 2021-01-12 17:29:22 -06:00
parent f5b1c2487b
commit d2aec21de6
2 changed files with 0 additions and 2 deletions

View File

@ -34,5 +34,4 @@ export default function createDockerContainer(latus) {
);
const {pid} = spawn('docker', args, {stdio: 'ignore'});
process.on('exit', () => process.kill(pid));
process.on('SIGINT', () => process.exit());
}

View File

@ -28,7 +28,6 @@ export default async function createDockerContainer(latus) {
);
const {pid} = spawn('docker', args, {stdio: 'ignore'});
process.on('exit', () => process.kill(pid));
process.on('SIGINT', () => process.exit());
// eslint-disable-next-line no-constant-condition
while (true) {
const client = createClient(latus);