summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 243c60a29..9e8fc8097 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -698,7 +698,7 @@ impl WebWorker {
event_loop_result = self.js_runtime.run_event_loop(false) => {
event_loop_result?;
-
+
receiver.await
}
}
@@ -730,7 +730,7 @@ impl WebWorker {
return Ok(());
}
event_loop_result?;
-
+
receiver.await
}
}