Skip to content
Commit 4a2d3741 authored by Robert Carr's avatar Robert Carr Committed by Rob Carr
Browse files

Postpone destroying leash until after cancel callback.

Currently we may end up releasing the leash (via Transaction#remove)
before setting mCancelled on the animation. This means if another frame
executes we could attempt to use a released surface. Here we cancel before
releasing the surface, careful not to disturb other logic.

Bug: 124112773
Test: Fixes them allegedly
Change-Id: I920a1c8f891a5cdc53b1d55298f661abc91b3259
parent 38eded08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment