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

Skip to content
Commit fb3beed5 authored by Dominik Laskowski's avatar Dominik Laskowski
Browse files

SF: Do not block the main thread on screenshots

The destructor of the future returned by std::async blocks until the
async operation completes, which defeats the purpose of spinning up
a thread to wait on the RenderEngine future. Instead, defer the wait
back to the Binder thread.

Bug: 232436803
Test: Perfetto
Change-Id: I7260002741a0174d8960894d490079757dc4bb5b
parent bd55592a
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