mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
ircd::resource::method: Disable interruption while waiting for idle.
This commit is contained in:
parent
68af933ff7
commit
c0892e79f4
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ noexcept
|
|||
stats->pending
|
||||
};
|
||||
|
||||
const ctx::uninterruptible::nothrow ui;
|
||||
idle_dock.wait([this]
|
||||
{
|
||||
return !stats || stats->pending == 0;
|
||||
|
|
Loading…
Reference in a new issue