File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,16 @@ wait handle = do
112
112
waitExitCode $ process handle
113
113
114
114
-- | Terminate the process, wait for it to actually exit and cleanup its resources.
115
+ -- Don't use this if you're manually stopping the solver process by sending an
116
+ -- @(exit)@ command. Use `wait` instead.
115
117
close :: Handle -> IO ()
116
118
close handle = do
117
119
cancel $ errorReader handle
118
120
stopProcess $ process handle
119
121
120
122
-- | Create a solver process, use it to make a computation and stop it.
123
+ -- Don't use this if you're manually stopping the solver process by sending an
124
+ -- @(exit)@ command. Use @\config -> `bracket` (`new` config) `wait`@ instead.
121
125
with ::
122
126
-- | The solver process' configuration.
123
127
Config ->
You can’t perform that action at this time.
0 commit comments