Skip to content

bug: setIntervals do not clear on ctrl+c #66

@Qainguin

Description

@Qainguin

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);'
	}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions