make InterpreterProcess thread a daemon thread
[fleet.git] / src / edu / berkeley / fleet / interpreter / Interpreter.java
index c43ad40..53868ff 100644 (file)
@@ -162,7 +162,9 @@ public class Interpreter extends FleetTwoFleet {
 
     public FleetProcess run(final Instruction[] instructions) {
         InterpreterProcess ip = initialize(instructions);
-        new Thread(ip).start();
+        Thread ipt = new Thread(ip);
+        ipt.setDaemon(true);
+        ipt.start();
         return ip;
     }