mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-06-17 04:40:10 +10:00
Try to fix bugs.
This commit is contained in:
@@ -17,15 +17,15 @@ namespace PriFileFormat
|
||||
}
|
||||
public override bool CanRead
|
||||
{
|
||||
get { return true; }
|
||||
get { return comStream != null; }
|
||||
}
|
||||
public override bool CanSeek
|
||||
{
|
||||
get { return true; }
|
||||
get { return comStream != null; }
|
||||
}
|
||||
public override bool CanWrite
|
||||
{
|
||||
get { return true; }
|
||||
get { return comStream != null; }
|
||||
}
|
||||
public override long Length
|
||||
{
|
||||
@@ -142,6 +142,10 @@ namespace PriFileFormat
|
||||
comStream.SetSize (value);
|
||||
}
|
||||
}
|
||||
~ComStreamWrapper () { comStream = null;}
|
||||
public override void Close ()
|
||||
{
|
||||
base.Close ();
|
||||
comStream = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user