diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-08-30 09:04:55 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 09:04:55 +0530 |
commit | 329698cf73e98bd3347f5b03f5ecb562a6ce9925 (patch) | |
tree | d4cd647e05d790eff3adbe7cd4c9b9abd844b0f8 /cli/napi/threadsafe_functions.rs | |
parent | f76bfbbe33c4e8e6ac8da9dccd29bd522d9b7e6f (diff) |
fix(napi): ignore tsfn recv error (#20324)
Ref https://github.com/denoland/deno/issues/20072
Diffstat (limited to 'cli/napi/threadsafe_functions.rs')
-rw-r--r-- | cli/napi/threadsafe_functions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/napi/threadsafe_functions.rs b/cli/napi/threadsafe_functions.rs index 775ad4262..f47da46e9 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(); } } } |