Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions release-notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Release notes:
- adds AsyncSeq vs TaskSeq comparison chart, #131
- removes release-notes.txt from file dependencies, but keep in the package, #138

0.3.1 (unreleased)
- fixes not calling Dispose for 'use!', 'use', or `finally` blocks in `try`...`finally` #157

0.3.0
- internal renames, improved doc comments, signature files for complex types, hide internal-only types, fixes #112.
- adds support for static TaskLike, allowing the same let! and do! overloads that F# task supports, fixes #110.
Expand Down
5 changes: 2 additions & 3 deletions src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ type TaskSeqStateMachineData<'T>() =

member data.PushDispose(disposer: unit -> Task) =
if isNull data.disposalStack then
data.disposalStack <- null

//data.disposalStack.Add disposer
data.disposalStack <- ResizeArray()
data.disposalStack.Add disposer

member data.PopDispose() =
if not (isNull data.disposalStack) then
Expand Down