summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index bc3ceb58c..36711f4ea 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -870,6 +870,8 @@ sub check_rate_limit {
# Per-process cleanup. Note that this is a plain subroutine, not a method,
# so we don't have $class available.
sub _cleanup {
+ return if $^C;
+
# BMO - finalise and report on metrics
if (Bugzilla->metrics_enabled) {
Bugzilla->metrics->finish();