fix(napi): ignore tsfn recv error (#20324)

Ref https://github.com/denoland/deno/issues/20072
This commit is contained in:
Divy Srivastava 2023-08-30 09:04:55 +05:30 committed by GitHub
parent f76bfbbe33
commit 329698cf73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ impl TsFn {
}
if is_blocking {
rx.recv().unwrap();
let _ = rx.recv();
}
}
}