Commit f14a7f09 by kimvde Committed by Ian Baker

Add comment to explain why cancel exceptions are handled differently

PiperOrigin-RevId: 493260798
parent cf61e219
......@@ -334,6 +334,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
TransformationException.createForMuxer(e, ERROR_CODE_MUXING_FAILED);
} catch (RuntimeException e) {
releaseTransformationException = TransformationException.createForUnexpected(e);
// cancelException is not reported through a listener. It is thrown in cancel(), as this
// method is blocking.
cancelException = e;
}
// Quit thread lazily so that all events that got triggered when releasing the AssetLoader are
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment