From 0e169fe4a469406634b699959d249ad01ad4cb32 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 22 May 2018 05:46:32 -0700 Subject: [PATCH] ircd::ctx: Stop interrupt propagation at pool function base. --- ircd/ctx.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ircd/ctx.cc b/ircd/ctx.cc index a219dfcb9..50225ffbd 100644 --- a/ircd/ctx.cc +++ b/ircd/ctx.cc @@ -1039,7 +1039,8 @@ try } catch(const interrupted &e) { - throw; + // Interrupt is stopped here so this ctx can be reused for a new job. + return; } catch(const std::exception &e) {