From 04961d79983370377407b669a4d9bf66e35740ae Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Sat, 22 Aug 2009 14:32:17 -0700 Subject: [PATCH] make InterpreterProcess thread a daemon thread --- src/edu/berkeley/fleet/interpreter/Interpreter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/edu/berkeley/fleet/interpreter/Interpreter.java b/src/edu/berkeley/fleet/interpreter/Interpreter.java index c43ad40..53868ff 100644 --- a/src/edu/berkeley/fleet/interpreter/Interpreter.java +++ b/src/edu/berkeley/fleet/interpreter/Interpreter.java @@ -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; } -- 1.7.10.4