1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

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();
}
}
}