Skip to content

Commit ff54b7e

Browse files
committed
fix: debug missing shutdown logs
1 parent 977a7ca commit ff54b7e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/createSpawn.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ export const createSpawn = (
119119
const kill = () => {
120120
// eslint-disable-next-line promise/prefer-await-to-then
121121
processPromise.kill().finally(() => {
122-
processPromise.stdout.off('data', onStdout);
123-
processPromise.stderr.off('data', onStderr);
122+
log.debug('task %s was killed', taskId);
123+
124+
// processPromise.stdout.off('data', onStdout);
125+
// processPromise.stderr.off('data', onStderr);
124126
});
125127
};
126128

0 commit comments

Comments
 (0)