public void updateParameters(final WsParamSetI newpreset,
final List<Argument> newarguments)
{
- if (calcMan.isWorking(this))
+ if (false) // || calcMan.isWorking(this))
{
new Thread(new Runnable()
{
{
finished = true;
}
+ if (calcMan.isPending(this) && this instanceof AAConsClient)
+ {
+ finished = true;
+ // cancel this job and yield to the new job
+ try
+ {
+ if (aaservice.cancelJob(rslt))
+ {
+ System.err.println("Cancelled AACon job: " + rslt);
+ }
+ else
+ {
+ System.err.println("FAILED TO CANCELL AACon job: " + rslt);
+ }
+
+ } catch (Exception x)
+ {
+
+ }
+
+ return;
+ }
long cpos;
ChunkHolder stats;
do