Andrea Vezzosi pushed to branch wip/romes/async-rpc at Glasgow Haskell Compiler / GHC Commits: 9ecaacd2 by Andrea Vezzosi at 2026-11-16T09:00:22+01:00 interp: time limit closePipe in stopInterp - - - - - 1 changed file: - compiler/GHC/Runtime/Interpreter.hs Changes: ===================================== compiler/GHC/Runtime/Interpreter.hs ===================================== @@ -668,7 +668,7 @@ stopInterp interp = case interpInstance interp of pure (InterpPending,e) where gracefulShutdown i restore = do - x <- try (timeLimited restore (sendMessage i Shutdown) `finally` closePipe (interpPipe (instProcess i))) + x <- try (liftM2 (>>) (timeLimited restore (sendMessage i Shutdown)) (timeLimited restore (closePipe (interpPipe (instProcess i))))) let ph = interpHandle (instProcess i) e <- case x of -- happy path: ext. interp. should be shutting down of its own accord. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ecaacd22c786b3413806135d1210faa... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ecaacd22c786b3413806135d1210faa... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help