Mehdi Akiki

Posts tagged "drop"

  • Published on

    Investigation · Part 3 of 3 · Async Rust under the hood

    Async Cleanup in Rust When Drop Cannot Await

    Drop is synchronous, and a lease or session often needs an await to be released. I tried four ways to do the cleanup and measured which ones actually ran, including during runtime shutdown.