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

Commit 8392b504 authored by Antti Hatala's avatar Antti Hatala Committed by Erik Gilling
Browse files

surfaceflinger: unlock clients only after flip

Change-Id: I039291a36f05bbaa02b29325d4012114abd784b9
parent b34cd448
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -383,10 +383,10 @@ bool SurfaceFlinger::threadLoop()
        // inform the h/w that we're done compositing
        hw.compositionComplete();

        // release the clients before we flip ('cause flip might block)
        postFramebuffer();

        unlockClients();

        postFramebuffer();
    } else {
        // pretend we did the post
        unlockClients();