Fix bugs.

This commit is contained in:
Bruce
2026-04-10 13:58:15 +08:00
parent 0f7c4be17e
commit 200262d3ca
14 changed files with 334 additions and 44 deletions
+5 -4
View File
@@ -17,15 +17,15 @@ namespace PriFileFormat
}
public override bool CanRead
{
get { return comStream != null; }
get { return true; }
}
public override bool CanSeek
{
get { return comStream != null; }
get { return true; }
}
public override bool CanWrite
{
get { return comStream != null; }
get { return true; }
}
public override long Length
{
@@ -144,8 +144,9 @@ namespace PriFileFormat
}
public override void Close ()
{
base.Close ();
comStream = null;
base.Close ();
}
~ComStreamWrapper () { comStream = null;}
}
}