http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82912
Revision: 82912
Author: demon
Date: 2011-02-27 21:06:30 +0000 (Sun, 27 Feb 2011)
Log Message:
-----------
Partial merge r82461, close() the reader when we're done with it.
Probably not enough to fix the OOM issues here, since we've pretty much
established that XMLReader is unacceptably slow (eg: r66267, r77638)
Modified Paths:
--------------
branches/wmf/1.17wmf1/includes/media/SVGMetadataExtractor.php
Modified: branches/wmf/1.17wmf1/includes/media/SVGMetadataExtractor.php
===================================================================
--- branches/wmf/1.17wmf1/includes/media/SVGMetadataExtractor.php
2011-02-27 21:06:09 UTC (rev 82911)
+++ branches/wmf/1.17wmf1/includes/media/SVGMetadataExtractor.php
2011-02-27 21:06:30 UTC (rev 82912)
@@ -113,6 +113,8 @@
}
}
+ $this->reader->close();
+
return true;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs