Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(napi): return the join handle when spawning a tokio task. (#1351)
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.
- Loading branch information