Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lib/internal/vm/noderealm.js
Co-authored-by: Moshe Atlow <moshe@atlow.co.il>
  • Loading branch information
mcollina and MoLow authored May 8, 2023
commit 39e58b3b1a6c5e5dfd7f8b21602bd5cb7c508f80
2 changes: 1 addition & 1 deletion lib/internal/vm/noderealm.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class NodeRealm extends EventEmitter {
// We use setTimeout instead of setImmediate because it runs in a different
// phase of the event loop. This is important because the immediate queue
// would crash if the environment it refers to has been already closed.
setTimeout(tryClosing, 100);
setTimeout(tryClosing, 100).unref();
});
}

Expand Down