blob: 1c87497172e66a9f12ec4ea2bc240b15e4249ac6 (
plain)
1
2
3
4
5
6
7
8
9
|
'use strict';
require('../common');
// Regression test for https://github.com/nodejs/node/issues/30581
// This script should not crash.
function dummy() {}
process.on('SIGINT', dummy);
process.on('exit', () => process.removeListener('SIGINT', dummy));
|