diff options
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 488a2eeba..ea9362a6b 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -240,7 +240,7 @@ impl Future for Worker { // We always poll the inspector if it exists. let _ = inner.inspector.as_mut().map(|i| i.poll_unpin(cx)); inner.waker.register(cx.waker()); - inner.js_runtime.poll_unpin(cx) + inner.js_runtime.poll_event_loop(cx) } } |