From d65a297943b57f6492909041aadf72323f503f09 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 27 Nov 2023 19:03:15 -0500 Subject: [PATCH] chore: fix formatting (#21364) --- runtime/web_worker.rs | 4 ++-- runtime/worker.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 243c60a29c..9e8fc8097a 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 } } diff --git a/runtime/worker.rs b/runtime/worker.rs index 1a1e07a4dd..542a1a64bf 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -553,7 +553,7 @@ impl MainWorker { event_loop_result = self.run_event_loop(false) => { event_loop_result?; - + receiver.await } }