9596979899100101102103104105
} public WOActionResults stopTask() { IERXStoppable task = loopStopTask(); if (task != null) { task.stop(); } //~ if (task != null) return null; } /**
504505506507508509510511512513514
*/ public WOActionResults stopTask() { Object task = future().task(); if (task instanceof IERXStoppable) { IERXStoppable stoppable = (IERXStoppable)task; stoppable.stop(); _wasStoppedByUser = true; } return null; }