1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -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 Bartek Iwańczuk
parent d1490b1a88
commit f174a4ee1e
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

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