mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
fixed Dispose pattern.
This commit is contained in:
@@ -169,7 +169,7 @@ namespace GameRes.Formats.DRS
|
||||
{
|
||||
if (!m_disposed)
|
||||
{
|
||||
if (m_should_dispose)
|
||||
if (m_should_dispose && disposing)
|
||||
m_stream.Dispose();
|
||||
m_disposed = true;
|
||||
base.Dispose (disposing);
|
||||
|
||||
Reference in New Issue
Block a user