From f798fe266f44c16bd49cf3f8d61eab0e42a58688 Mon Sep 17 00:00:00 2001 From: Vadim Belman Date: Fri, 7 Oct 2016 19:08:27 -0400 Subject: [PATCH] Item13897: Turn on memorly leak detection only by FOSWIKI_CHECKLEAK environment variable. --- core/bin/foswiki_debug.psgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bin/foswiki_debug.psgi b/core/bin/foswiki_debug.psgi index 084231b572..08baa1683c 100644 --- a/core/bin/foswiki_debug.psgi +++ b/core/bin/foswiki_debug.psgi @@ -38,7 +38,7 @@ use Foswiki::App; use Devel::Leak; use Devel::Leak::Object; -use constant CHECKLEAK => $ENV{FOSWIKI_CHECKLEAK} // 1; +use constant CHECKLEAK => $ENV{FOSWIKI_CHECKLEAK} // 0; BEGIN { if (CHECKLEAK) {