summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-25 23:02:30 +0200
committerdklawren <dklawren@users.noreply.github.com>2018-04-25 23:02:30 +0200
commit132700438a4d409a7c9f76be7cfed4d18130a4dd (patch)
treed96ce2f43137a105e3b9fdca2cc0fc2c01cae9f2 /Bugzilla.pm
parent993e754afdf6a94e128633be7261e27cfc384f2c (diff)
downloadbugzilla-132700438a4d409a7c9f76be7cfed4d18130a4dd.tar.gz
bugzilla-132700438a4d409a7c9f76be7cfed4d18130a4dd.tar.xz
Bug 1441732 - Improve missing module error in Bugzilla::Extensions and catch more compile errors in tests
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();