Skip to content

Commit 7e4060b

Browse files
committed
Cosmetic / Comments
1 parent 40974b6 commit 7e4060b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Control/Distributed/Process/Platform/Supervisor.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1715,8 +1715,8 @@ childShutdown policy pid st = do
17151715
Infinity -> receiveWait (matches pid') >>= return . Just
17161716
NoDelay -> receiveTimeout 0 (matches pid')
17171717
Delay t -> receiveTimeout (asTimeout t) (matches pid')
1718-
-- we set up an additional monitor here, since child shutdown can occur
1719-
-- during a restart which was triggered by the /old/ monitor signal
1718+
-- We require and additional monitor here when child shutdown occurs
1719+
-- during a restart which was triggered by the /old/ monitor signal.
17201720
let recv' = if monitored then recv else withMonitor pid' recv
17211721
recv' >>= maybe (childShutdown TerminateImmediately pid' state) return
17221722

0 commit comments

Comments
 (0)