File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,9 @@ sortActions = sortBy (compareConcurrency `on` actionConcurrency)
119119runActions' :: ExecuteState -> IO ()
120120runActions' ExecuteState {.. } = loop
121121 where
122+ loop :: IO ()
123+ loop = join $ atomically $ breakOnErrs $ withActions processActions
124+
122125 breakOnErrs :: STM (IO () ) -> STM (IO () )
123126 breakOnErrs inner = do
124127 errs <- readTVar esExceptions
@@ -133,9 +136,6 @@ runActions' ExecuteState {..} = loop
133136 then doNothing
134137 else inner actions
135138
136- loop :: IO ()
137- loop = join $ atomically $ breakOnErrs $ withActions processActions
138-
139139 processActions :: [Action ] -> STM (IO () )
140140 processActions actions = do
141141 inAction <- readTVar esInAction
You can’t perform that action at this time.
0 commit comments