mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 12:24:12 +08:00
(Xp3Stream): dispose of segments enumerator.
This commit is contained in:
parent
fc724ee4c7
commit
b42a425b80
@ -827,9 +827,11 @@ NextEntry:
|
|||||||
{
|
{
|
||||||
if (!disposed)
|
if (!disposed)
|
||||||
{
|
{
|
||||||
if (disposing && null != m_stream)
|
if (disposing)
|
||||||
{
|
{
|
||||||
|
if (null != m_stream)
|
||||||
m_stream.Dispose();
|
m_stream.Dispose();
|
||||||
|
m_segment.Dispose();
|
||||||
}
|
}
|
||||||
disposed = true;
|
disposed = true;
|
||||||
base.Dispose (disposing);
|
base.Dispose (disposing);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user