mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:vm: Add opts condition for propagating interrupt in loop eval.
This commit is contained in:
parent
d15df05966
commit
0bcc8cd1f3
1 changed files with 7 additions and 0 deletions
|
@ -1607,6 +1607,13 @@ ircd::m::vm::eval::eval(const json::array &pdus,
|
|||
|
||||
operator()(event);
|
||||
}
|
||||
catch(const ctx::interrupted &e)
|
||||
{
|
||||
if(opts.nothrows & fault::INTERRUPT)
|
||||
continue;
|
||||
else
|
||||
throw;
|
||||
}
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue