Closed Athari closed 10 years ago
When created from a stream, CQ always disposes it. This makes reusing the stream impossible.
CQ.Create methods which accept a stream, should offer optional bool leaveOpen = false argument, like StreamReader from .NET Framewok does.
CQ.Create
bool leaveOpen = false
StreamReader
Fixed in the last push- streams are just left unclosed always; handling stream disposition really should be the concern of whoever created the stream anyway.
When created from a stream, CQ always disposes it. This makes reusing the stream impossible.
CQ.Create
methods which accept a stream, should offer optionalbool leaveOpen = false
argument, likeStreamReader
from .NET Framewok does.