mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
ircd:Ⓜ️:typing: Add interruption point before wait in loop.
This commit is contained in:
parent
eb4fdfd036
commit
014b6e9a9b
1 changed files with 1 additions and 0 deletions
|
@ -343,6 +343,7 @@ try
|
|||
{
|
||||
while(1)
|
||||
{
|
||||
ctx::interruption_point();
|
||||
timeout_dock.wait([]
|
||||
{
|
||||
return !typists.empty();
|
||||
|
|
Loading…
Reference in a new issue