You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
// This is an issue for long unref'd intervals such as for garbage-collection.
varassert=require('assert');varunref_interval=0;setInterval(function(){++unref_interval;},300).unref();setTimeout(function(){},350);process.on('exit',function(){assert.strictEqual(unref_interval,1,"Repeat unref'd interval persists program until next interval");});
Bug: Repeat unref'd interval persists program until next interval
After the ref'd timeout fires, the unref'd interval should not persist the program,
... but it does until the next time the unref'd interval fires.
// This is an issue for long unref'd intervals such as for garbage-collection.