Closed oleksandr closed 9 years ago
`func (self *Runtime) Start()
has a separate Goroutine for every running process. When the process exits. For now fixing it will be:
if !ps.cmd.ProcessState.Success() || len(self.processes) == 0 {
self.Shutdown()
}
we exit when component process exits with an error or no running processes left.
This network:
Lists all files in the
/some/folder
and then shuts down (starting from DIR port of Walk). All components exist but thebin/cascades
program is still hanging.Expected: all sub processes and the main process to exit.