Commit f1be603b authored by Faezeh KHORRAM's avatar Faezeh KHORRAM 💬
Browse files

stop model execution thread

parent 15ad6f40
......@@ -117,7 +117,7 @@ public class GenericEventManager implements IEventManager {
engine.setEngineStatus(RunStatus.WaitingForEvent);
callRequest = callRequestQueue.take();
} catch (InterruptedException e) {
e.printStackTrace();
//e.printStackTrace();
}
engine.setEngineStatus(RunStatus.Running);
waitForCallRequests = false;
......
......@@ -589,8 +589,9 @@ public class K3EventManagerLauncher implements IEventBasedExecutionEngine{
this.MUTResource.unload();
this.executionEngine.dispose();
this.executionEngineJob.cancel();
this.executionEngineJob.getThread().interrupt();
}catch (NullPointerException e) {
// TODO: handle exception
}
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment