mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
we need this to be able to safely drop an struct, that makes use of an async task. the drop function needs to be able to call `.abort()` on the join handle to avoid memory corruption and undefined bahviour.