Skip to content

Commit

Permalink
Item13897: Turn on memorly leak detection only by FOSWIKI_CHECKLEAK e…
Browse files Browse the repository at this point in the history
…nvironment variable.
  • Loading branch information
vrurg committed Oct 7, 2016
1 parent 4aafe08 commit f798fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bin/foswiki_debug.psgi
Expand Up @@ -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) {
Expand Down

0 comments on commit f798fe2

Please sign in to comment.