Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c101c3f authored by Robert Carr's avatar Robert Carr
Browse files

InsetsSourceConsumer: Release directly

Since we copy the InsetSourceControl to the animation
runner, we don't need to release the InsetsSourceConsumer
copy from the render thread, as it wont be used there.

Bug: 150805473
Test: Existing tests pass.
Change-Id: I03cb69e17e036237410472e8b4601b61fc40bc0e
parent 89f01252
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ public class InsetsSourceConsumer {
            }
        }
        if (lastControl != null) {
            lastControl.release(mController::releaseSurfaceControlFromRt);
            lastControl.release(SurfaceControl::release);
        }
    }