Index: trunk/FACT++/scripts/Main.js
===================================================================
--- trunk/FACT++/scripts/Main.js	(revision 19530)
+++ trunk/FACT++/scripts/Main.js	(revision 19531)
@@ -828,18 +828,5 @@
     irq = cmd ? cmd : "stop";
 
-    // This will end a run in progress as if it where correctly stopped
-    if (dim.state("MCP").name=="TakingData")
-    {
-        if (irq.toUpperCase()=="PREPARE")
-        {
-            // Avoid stopping the trigger preparing for a ToO
-            // this would result in the FEEDBACK going from InProgress to Connected
-            // and thus the threshold settings cannot be reused
-            if (dim.state("FAD_CONTROL").name=="RunInProgress")
-                dim.send("FAD_CONTROL/CLOSE_OPEN_FILES");
-        }
-        else
-            dim.send("MCP/STOP");
-    }
+    dim.send("MCP/STOP");
 
     if (irq.toUpperCase()=="PREPARE")
