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

Skip to content
Commit 37973d9a authored by Alec Mouri's avatar Alec Mouri
Browse files

Fix ownership for RenderArea in screenshots.

RenderArea was previously owned by captureScreenshot(), and was borrowed by renderScreenImpl(). But renderScreenImpl asynchronously executes screenshot rendering which relies on the render area, which causes a use-after-free. Instead, pass ownership to renderScreenImpl.

Bug: 389887557
Change-Id: I37035b34d55f4847db9722371ea492364f7706fe
Flag: EXEMPT bug fix
Test: courage
parent 1da78218
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment