async-rs / async-rs/async-std

StdoutLock not released on drop.

Open
#640 10 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

This causes a deadlock with 1.4.0 :
```
async fn f() {
{
let _ = async_std::io::stdout().lock().await;
}
{
let _ = async_std::io::stdout().lock().await;
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.