You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the generated code should dispose the underlying disposables only when the keep open property is false, however the generated code ends up doing it when it's true instead.
Describe the bug
Currently the generated code should dispose the underlying disposables only when the keep open property is false, however the generated code ends up doing it when it's true instead.
To Reproduce
There is not much to reproducing it if the type is a stream.
Expected behavior
For the underlying streams inside of a stream to be disposed when instructing the stream to not keep it open (not when it is instructed to keep it open).
Actual behavior
It disposes of the underlying stream at the wrong time.
Screenshots
Version used
The latest version on nuget.org.
Additional context
N/a.
The text was updated successfully, but these errors were encountered:
Issue Details
Currently the generated code should dispose the underlying disposables only when the keep open property is false, however the generated code ends up doing it when it's true instead.
Describe the bug
Currently the generated code should dispose the underlying disposables only when the keep open property is false, however the generated code ends up doing it when it's true instead.
To Reproduce
There is not much to reproducing it if the type is a stream.
Expected behavior
For the underlying streams inside of a stream to be disposed when instructing the stream to not keep it open (not when it is instructed to keep it open).
Actual behavior
It disposes of the underlying stream at the wrong time.
Screenshots
Version used
The latest version on nuget.org.
Additional context
N/a.
The text was updated successfully, but these errors were encountered: