0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️:vm: Add opts condition for propagating interrupt in loop eval.

This commit is contained in:
Jason Volk 2019-06-07 03:23:40 -07:00
parent d15df05966
commit 0bcc8cd1f3

View file

@ -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;