Closedown
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user