/** * Kill is only invoked, when shutdown of some (e.g. other) feature does not return due to timeout. * The feature should do any kind of possible cleanup, but no asynchronous operations. */ @Override public void kill() { doCleanup(new ThreadDeath()); }
public void customResultAvailable(Void result) { doCleanup(new StepAborted()); super.customResultAvailable(result); } });