| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4d396fd commit f5ac4ec
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,9 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + require('../common'); | ||
| 3 | + | ||
| 4 | + // Regression test for https://github.com/nodejs/node/issues/30581 | ||
| 5 | + // This script should not crash. | ||
| 6 | + | ||
| 7 | + function dummy() {} | ||
| 8 | + process.on('SIGINT', dummy); | ||
| 9 | + process.on('exit', () => process.removeListener('SIGINT', dummy)); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments