distributed-process
distributed-process copied to clipboard
Closing an EndPoint does not break connections
I basically ended up implementing a small wrapper around closeEndPoint that does
forM_ otherNodes $ \otherNode -> do
InMem.breakConnection
transportInternals
(Transport.address nodeToBeTerminated)
(Transport.address otherNode)
("Node " ++ show (Local.localNodeId nodeToBeTerminated) ++ " closed")
But I would have expected this to happen by default. Not sure if this is a documentation problem or a missing feature.
~Is there a branch where this is fixed?~ See below!