Skip to content

Commit

Permalink
avoid dropping upstream items in mergeSource
Browse files Browse the repository at this point in the history
  • Loading branch information
julmb committed Aug 26, 2024
1 parent 5f2ad8a commit ab68cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conduit/src/Data/Conduit/Internal/Conduit.hs
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ mergeSource = loop . sealConduitT
go a = do
(src1, mi) <- lift $ src0 $$++ await
case mi of
Nothing -> return ()
Nothing -> leftover a
Just i -> yield (i, a) >> loop src1


Expand Down

0 comments on commit ab68cdc

Please sign in to comment.