-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-lintArea: New lintsArea: New lintsL-correctnessLint: Belongs in the correctness lint groupLint: Belongs in the correctness lint groupT-async-awaitType: Issues related to async/awaitType: Issues related to async/await
Description
It would be useful to implement a lint against calling .await
while a holding a MutexGuard.
This is almost certainly an error (and a non-obvious one) because the Reactor is going to end up invoking code not visible in the current scope while the lock is held.
sdroege, tmandry, fogti and Kobzol
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsL-correctnessLint: Belongs in the correctness lint groupLint: Belongs in the correctness lint groupT-async-awaitType: Issues related to async/awaitType: Issues related to async/await
Type
Projects
Status
Done