Skip to content
Merged
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: 2 additions & 1 deletion src/Streamly/Internal/Data/Fold/Channel/Type.hs
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,9 @@ sendExceptionToDriver :: Channel m a b -> SomeException -> IO ()
sendExceptionToDriver sv e = do
tid <- myThreadId
writeIORef (closedForInput sv) True
void $ tryPutMVar (inputSpaceDoorBell sv) ()
-- Should ring the doorbell after sending the message
void $ sendToDriver sv (FoldException tid e)
void $ tryPutMVar (inputSpaceDoorBell sv) ()

data FromSVarState m a b =
FromSVarRead (Channel m a b)
Expand Down
Loading