We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6aeb3de + 123bc06 commit 49f3f06Copy full SHA for 49f3f06
src/SMTLIB/Backends/Process.hs
@@ -112,12 +112,16 @@ wait handle = do
112
waitExitCode $ process handle
113
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.
117
close :: Handle -> IO ()
118
close handle = do
119
cancel $ errorReader handle
120
stopProcess $ process handle
121
122
-- | Create a solver process, use it to make a computation and stop it.
123
124
+-- @(exit)@ command. Use @\config -> `bracket` (`new` config) `wait`@ instead.
125
with ::
126
-- | The solver process' configuration.
127
Config ->
0 commit comments