Closedown

This commit is contained in:
gac-S_Changer
2017-08-31 17:33:11 +02:00
parent 77180283e0
commit 66f5154eaa

View File

@@ -23,6 +23,7 @@ public class LaserUE extends SerialPortDevice{
new Thread(new Runnable() {
@Override
public void run() {
System.out.println("Starting");
while(!isClosed()){
try{
if (isInitialized()){
@@ -40,6 +41,7 @@ public class LaserUE extends SerialPortDevice{
Logger.getLogger(LaserUE.class.getName()).log(Level.SEVERE, null, ex);
}
}
System.out.println("Quiting");
}
}).start();
}