Issue is when the guard is upgraded in a spawned task
cargo run
produces :
Doing work
Ok(8.147µs)
expected :
Doing work
Work done
Ok(1.s)
The issue was a misunderstanding of how to use this library.
cargo run --bin working
Standalone Reproduction of broken guard when using tokio-graceful
Rust
Issue is when the guard is upgraded in a spawned task
cargo run
produces :
Doing work
Ok(8.147µs)
expected :
Doing work
Work done
Ok(1.s)
The issue was a misunderstanding of how to use this library.
cargo run --bin working