diff options
Diffstat (limited to 'test/parallel/test-async-wrap-uid.js')
-rw-r--r-- | test/parallel/test-async-wrap-uid.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-async-wrap-uid.js b/test/parallel/test-async-wrap-uid.js index 19cb01cfa8..f16388cfe7 100644 --- a/test/parallel/test-async-wrap-uid.js +++ b/test/parallel/test-async-wrap-uid.js @@ -6,7 +6,7 @@ const assert = require('assert'); const async_wrap = process.binding('async_wrap'); // Give the event loop time to clear out the final uv_close(). -var si_cntr = 3; +let si_cntr = 3; process.on('beforeExit', () => { if (--si_cntr > 0) setImmediate(() => {}); }); |