From 9ec1292b677a7879f2bca5116c18290bc92dfd40 Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Sun, 26 Oct 2025 17:03:32 +0200 Subject: [PATCH] fix(withCleanup): remove extra tick --- src/execution/withCleanup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/execution/withCleanup.ts b/src/execution/withCleanup.ts index 79f92d55c1..8c93b5de39 100644 --- a/src/execution/withCleanup.ts +++ b/src/execution/withCleanup.ts @@ -35,7 +35,7 @@ export function withCleanup( await finish(); return result; } - return { value: await result.value, done: false }; + return { value: result.value, done: false }; } catch (error) { await finish(); throw error;