Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tear down daml services gracefully #12591

Merged
merged 2 commits into from
Jan 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typing is hard
changelog_begin
changelog_end
  • Loading branch information
cocreature committed Jan 26, 2022
commit 38597f1ed65688fac3ce178c69462f6aa20c3798
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ withDamlServiceIn path command args act = withDevNull $ \devNull -> do
-- We tear things down gracefully instead of killing
-- the process group so that waiting for the parent process
-- ensures that all child processes are all dead too.
-- Gonig via closing stdin works on Windows whereas tearing things
-- down gracefully
-- Going via closing stdin works on Windows whereas tearing things
-- down gracefully via SIGTERM isn’t as much of a thing so we use the former.
_ <- waitForProcess ph
pure r

Expand Down