mirror of
https://github.com/matrix-construct/construct
synced 2025-01-18 02:21:56 +01:00
construct: Fix proper interruption/termination reenable for watch cmd.
This commit is contained in:
parent
1328443ee8
commit
85a509f004
1 changed files with 3 additions and 2 deletions
|
@ -411,12 +411,13 @@ construct::console::cmd__watch()
|
|||
|
||||
this->line = line; do
|
||||
{
|
||||
const ircd::ctx::uninterruptible::nothrow ui;
|
||||
|
||||
std::cout << '\n';
|
||||
const ircd::ctx::uninterruptible ui;
|
||||
handle_line(); try
|
||||
{
|
||||
ircd::ctx::interruptible(true);
|
||||
const log::console_quiet quiet(false);
|
||||
const ircd::ctx::uninterruptible ri(false);
|
||||
ctx::sleep(sleep_time);
|
||||
}
|
||||
catch(const ctx::interrupted &)
|
||||
|
|
Loading…
Add table
Reference in a new issue