From: Platonides Date: Sun, 20 Feb 2011 00:27:01 +0000 (+0000) Subject: Break the self-reference between parser and preprocessor, so they can be counting... X-Git-Tag: 1.31.0-rc.0~31865 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=32a37f873d523beb2ac5fde882f6ceaa293ace6d;p=lhc%2Fweb%2Fwiklou.git 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). --- 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 ); }