mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-04-30 10:47:48 +02:00
When closing a prefetched stream, close underlying stream
This commit is contained in:
parent
af936b2217
commit
d1b4bf6273
1 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,12 @@ namespace Utilities
|
|||
m_stream.Write(buffer, offset, count);
|
||||
}
|
||||
|
||||
public override void Close()
|
||||
{
|
||||
m_stream.Close();
|
||||
base.Close();
|
||||
}
|
||||
|
||||
public override bool CanRead
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Add table
Reference in a new issue