Files
Kmake/test/parallel/test-timers-immediate-unref-nested-once.js

10 lines
231 B
JavaScript
Raw Permalink Normal View History

2026-05-26 23:36:42 -07:00
'use strict';
const common = require('../common');
// This immediate should not execute as it was unrefed
// and nothing else is keeping the event loop alive
setImmediate(() => {
setImmediate(common.mustNotCall()).unref();
});