Index: trunk/FACT++/src/StateMachineDimControl.cc
===================================================================
--- trunk/FACT++/src/StateMachineDimControl.cc	(revision 18424)
+++ trunk/FACT++/src/StateMachineDimControl.cc	(revision 18425)
@@ -135,4 +135,10 @@
     InterpreterV8::JsStop();
     return GetCurrentState();
+}
+
+void StateMachineDimControl::Stop(int code)
+{
+    InterpreterV8::JsStop();
+    StateMachineDim::Stop(code);
 }
 
Index: trunk/FACT++/src/StateMachineDimControl.h
===================================================================
--- trunk/FACT++/src/StateMachineDimControl.h	(revision 18424)
+++ trunk/FACT++/src/StateMachineDimControl.h	(revision 18425)
@@ -77,4 +77,6 @@
     void SetInterruptHandler(const std::function<int(const EventImp &)> &func=std::function<int(const EventImp &)>()) { fInterruptHandler = func; }
 
+    void Stop(int code=0);
+
 public:
     StateMachineDimControl(std::ostream &out=std::cout);
