Skip to content

Commit d0ba9be

Browse files
committed
io-sim-por: fixed execAtomically'
As of ac6ec44 `execAtomically'` should not run `commitTVar`.
1 parent 934f5d4 commit d0ba9be

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

io-sim/src/Control/Monad/IOSimPOR/Internal.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,6 @@ execAtomically' = go Map.empty
15311531
-> ST s [SomeTVar s]
15321532
go !written action = case action of
15331533
ReturnStm () -> do
1534-
!_ <- traverse_ (\(SomeTVar tvar) -> commitTVar tvar) written
15351534
return (Map.elems written)
15361535
ReadTVar v k -> do
15371536
x <- execReadTVar v

0 commit comments

Comments
 (0)