protected virtual void Dispose(bool disposing)
{
if (!disposedValue)
{
if (disposing)
{
if (iexports != null)
{
try
{
foreach (ME2ExportEntry entry in iexports)
entry.Dispose();
}
catch { }
}
if (Exports != null)
{
try
{
foreach (ME2ExportEntry entry in Exports)
entry.Dispose();
}
catch { }
}
if (Imports != null)
{
try
{
foreach (ME2ImportEntry entry in Imports)
entry.Dispose();
}
catch { }
}
if (iimports != null)
{
try
{
foreach (ME2ImportEntry entry in iimports)
entry.Dispose();
}
catch { }
}
if (listsStream != null)
try
{
listsStream.Dispose();
}
catch { }
if (m != null)
try
{
m.Dispose();
}
catch { }
}
this.header = null;
this.lzo = null;
this.Names = null;
disposedValue = true;
}
}