Calling YieldTarget.Dispose causes exception
Bug #680625 reported by
Phill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NDataflow |
Confirmed
|
Low
|
Unassigned |
Bug Description
Although Dispose should cause an exception if the YieldTarget has been disposed of before End is called, it causes one on the next read rather than serving the buffered results. Dispose should go into the buffer like data and the end-marker.
Changed in easyetldotnet: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Phill (flooby) |
assignee: | Phill (flooby) → nobody |
To post a comment you must log in.
Provided it is not disposed by the supplier-side and only by the consumer-side this should not be a problem. However, disposal from the supplier-side may be useful to stop the buffering thread. It's not ideal but it works as it is at the moment.