git.iko.soy/distributed-process
on master help sign in
closeLocalNode: extra comment about effect of closeEndPoint.
commitf575a46d4fe36213a1ef1b9bbdff4a62cef0dbb9 authorMathieu Boespflug <m@tweag.io> dateSun 8 Mar 2015, 23:17 (12 years ago) parent14bf51e
1 file changed+2
src/Control/Distributed/Process/Node.hs+2
src/Control/Distributed/Process/Node.hs+2
@@ -333,6 +333,8 @@ closeLocalNode node = do
333333 killThread (processThread lproc)
334334 return LocalNodeClosed
335335 LocalNodeClosed -> return LocalNodeClosed
336+ -- This call will have the effect of shutting down the NC as well (see
337+ -- 'createBareLocalNode').
336338 NT.closeEndPoint (localEndPoint node)
337339
338340-- | Run a process on a local node and wait for it to finish