void () { disposed = true; // NB: We call here `super.cancel()` directly instead of `cancel()` // The reason is that `Job` is needed to cover the scheduling of `myUiThreadAction`, // so its lifetime is bigger than the lifetime of computation in NBRA, hence `Job` should not be cancelled in `dispose`. Submission.super.cancel(); }