Nulled unused xml trees

This commit is contained in:
Vhati 2014-03-09 04:47:02 -04:00
parent f6dfab2748
commit f87570dcf5

View file

@ -230,6 +230,8 @@ public class ModUtilities {
XMLPatcher patcher = new XMLPatcher();
patcher.setGlobalPanic( globalPanic );
Document mergedDoc = patcher.patch( mainDoc, appendDoc );
mainDoc = null;
appendDoc = null;
// Bake XML into text, filtering the stream to standardize newlines and encode.
// TODO: sloppyPrint() needs EOL normalizing!?