We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0be4ec6 commit 930f79dCopy full SHA for 930f79d
src/runtime/interrupt.cpp
@@ -64,7 +64,7 @@ void check_interrupted() {
64
if (g_cancel_tk) {
65
inc_ref(g_cancel_tk);
66
if (lean_io_cancel_token_is_set(g_cancel_tk) &&
67
- !std::uncaught_exception()) {
+ !std::uncaught_exceptions()) {
68
throw interrupted();
69
}
70
0 commit comments