diff options
Diffstat (limited to 'test/parallel/test-timers-unref-leak.js')
-rw-r--r-- | test/parallel/test-timers-unref-leak.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/parallel/test-timers-unref-leak.js b/test/parallel/test-timers-unref-leak.js deleted file mode 100644 index afecf7f15c..0000000000 --- a/test/parallel/test-timers-unref-leak.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -const common = require('../common'); - -const timeout = setTimeout(common.mustCall(), 10); -timeout.unref(); - -// Wrap `close` method to check if the handle was closed -const close = timeout._handle.close; -timeout._handle.close = common.mustCall(function() { - return close.apply(this, arguments); -}); - -// Just to keep process alive and let previous timer's handle die -setTimeout(() => {}, 50); |