mirror of
https://github.com/matrix-construct/construct
synced 2024-06-23 20:38:20 +02:00
ircd::ctx: Strict uncaught exception assertion on context switch.
This commit is contained in:
parent
61248a4c5b
commit
c78a7e96b9
|
@ -1087,6 +1087,9 @@ noexcept
|
|||
// initializer list.
|
||||
assert(!std::uncaught_exceptions());
|
||||
|
||||
// Saved uncaught exception count was non-zero.
|
||||
assert(!uncaught_exceptions);
|
||||
|
||||
// Note: Construct an instance of ctx::exception_handler to enable yielding
|
||||
// in your catch block.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue