blob: e9f69195ad29cdac83c903de23d87c04a5ac5dcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
'use strict';
const common = require('../common');
process.on('uncaughtException', common.mustCall(function() {}, 2));
setTimeout(function() {
process.nextTick(function() {
const c = setInterval(function() {
clearInterval(c);
throw new Error('setInterval');
}, 1);
});
setTimeout(function() {
throw new Error('setTimeout');
}, 1);
}, 1);
|