Skip to content

StdoutLock not released on drop. #640

Open
@Emm54321

Description

@Emm54321

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;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions