We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40974b6 commit 7e4060bCopy full SHA for 7e4060b
src/Control/Distributed/Process/Platform/Supervisor.hs
@@ -1715,8 +1715,8 @@ childShutdown policy pid st = do
1715
Infinity -> receiveWait (matches pid') >>= return . Just
1716
NoDelay -> receiveTimeout 0 (matches pid')
1717
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
+ -- We require and additional monitor here when child shutdown occurs
+ -- during a restart which was triggered by the /old/ monitor signal.
1720
let recv' = if monitored then recv else withMonitor pid' recv
1721
recv' >>= maybe (childShutdown TerminateImmediately pid' state) return
1722
0 commit comments