Andrea Vezzosi pushed to branch wip/romes/async-rpc at Glasgow Haskell Compiler / GHC
Commits:
-
5cdbff30
by Andrea Vezzosi at 2026-11-30T21:38:31+01:00
1 changed file:
Changes:
| ... | ... | @@ -724,7 +724,6 @@ stopInterpWhen shouldStop (SafeInterp interp) = case interpInstance interp of |
| 724 | 724 | gracefulShutdown :: ExtInterpInstance c -> IORef (Maybe ExitCode) -> (forall a. IO a -> IO a) -> IO (Either SomeException (Maybe ExitCode))
|
| 725 | 725 | gracefulShutdown i ecRef restore = do
|
| 726 | 726 | x <- try (liftM2 (>>) (timeLimited restore (sendMessage i Shutdown)) (timeLimited restore (closePipe (interpPipe (instProcess i)))))
|
| 727 | - print x
|
|
| 728 | 727 | let ph = interpHandle (instProcess i)
|
| 729 | 728 | e <- case x of
|
| 730 | 729 | -- happy path: ext. interp. should be shutting down of its own accord.
|