--- /dev/null
+#include "fsm/scd_stm_fail.h"
+
+#include "scd_logging.h"
+#include "scd_exception.h"
+#include "scd_cont_man_master.h"
+
+
+void scd_stm_fail::process()
+{
+ if (!_some_slaves_active())
+ {
+ // all slaves have terminated
+ _sim.get_chan_man().close();
+ _close_slaves();
+ _fsm.set_state(_st_failed);
+ }
+}