To reproduce, use the following Nodepod boot config, run node logger in the shell, then press Ctrl+C. Redo this a few times and you will see that the setIntervals never clear when Ctrl+C is pressed.
pod = await Nodepod.boot({
workdir: '/home/user',
files: {
'/home/user/logger.js':
'// uuid-logger.js\n\nsetInterval(() => {\n\tconsole.log(crypto.randomUUID());\n}, 1000);'
}
});
To reproduce, use the following Nodepod boot config, run
node loggerin the shell, then press Ctrl+C. Redo this a few times and you will see that the setIntervals never clear when Ctrl+C is pressed.