public void Dispose() { if (Writer == null) { DebugConsole.ThrowError("Cannot dispose invalid XmlWriter"); return; } Writer.Dispose(); }
public void SaveDependencies() { if (writer == null) { return; } writer.WriteEndElement(); writer.WriteEndDocument(); writer.Flush(); writer.Dispose(); zipStream.Dispose(); writer = null; zipStream = null; dependency_stack = null; }
public void Dispose() { _writer.Dispose(); Clear(); }