From 32a37f873d523beb2ac5fde882f6ceaa293ace6d Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 20 Feb 2011 00:27:01 +0000 Subject: [PATCH] Break the self-reference between parser and preprocessor, so they can be counting collected. Saved a couple of Mb in the destructive make (126.25Mb -> 124.25Mb). --- tests/phpunit/includes/parser/NewParserTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index b69cd77172..b337beeaeb 100644 --- a/tests/phpunit/includes/parser/NewParserTest.php +++ b/tests/phpunit/includes/parser/NewParserTest.php @@ -436,6 +436,7 @@ class NewParserTest extends MediaWikiTestCase { $out = ''; } } + $parser->mPreprocessor = null; $result = $this->tidy( $result ); } -- 2.20.1