Skip to content

Commit f06a4ee

Browse files
committed
add missing monitor on CreateHandle variant of ChildStart
1 parent d21f628 commit f06a4ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Control/Distributed/Process/Platform/Supervisor.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,6 +1588,7 @@ tryStartChild ChildSpec{..} =
15881588
super <- getSelfPid
15891589
(pid, msg) <- proc super
15901590
maybeRegister regName pid
1591+
void $ monitor pid
15911592
return $ ChildRunningExtra pid msg
15921593

15931594
wrapRestarterProcess :: Maybe RegisteredName

0 commit comments

Comments
 (0)