Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Commit 8927729

Browse files
committed
fix: idk, but seems fix some async issue
1 parent fe6d0db commit 8927729

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/nodeimpl.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ namespace sampnode
5353
v8::Context::Scope contextScope(_context);
5454

5555
uv_run(nodeLoop->GetLoop(), UV_RUN_NOWAIT);
56+
57+
v8Isolate->PerformMicrotaskCheckpoint();
58+
v8Platform->DrainTasks(v8Isolate);
5659
}
5760
}
5861

0 commit comments

Comments
 (0)