summaryrefslogtreecommitdiff
path: root/test/parallel/test-timers-unrefed-in-beforeexit.js
blob: a38b55bf45d599959c148c7384e111b286063466 (plain)
1
2
3
4
5
6
7
'use strict';

const common = require('../common');

process.on('beforeExit', common.mustCall(() => {
  setTimeout(common.mustNotCall(), 1).unref();
}));