From 329698cf73e98bd3347f5b03f5ecb562a6ce9925 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 30 Aug 2023 09:04:55 +0530 Subject: [PATCH] fix(napi): ignore tsfn recv error (#20324) Ref https://github.com/denoland/deno/issues/20072 --- cli/napi/threadsafe_functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/napi/threadsafe_functions.rs b/cli/napi/threadsafe_functions.rs index 775ad42625..f47da46e9c 100644 --- a/cli/napi/threadsafe_functions.rs +++ b/cli/napi/threadsafe_functions.rs @@ -123,7 +123,7 @@ impl TsFn { } if is_blocking { - rx.recv().unwrap(); + let _ = rx.recv(); } } }