public void Dispose() { if (status != Status.End) { WriteEndTable(); } fields.Clear(); stringPool.Clear(); vldPool.Clear(); if (!settings.LeaveOpen) { destination.Close(); } }