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

Commit 540e1f8c authored by John Reck's avatar John Reck Committed by Gerrit Code Review
Browse files

Merge "Don't create unnecessary RenderThread's instance when executing 'dumpsys gfxinfo'"

parents f8a2ba51 c80c9ad1
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -395,6 +395,7 @@ CREATE_BRIDGE1(outputLogBuffer, int fd) {
}
}


void RenderProxy::outputLogBuffer(int fd) {
void RenderProxy::outputLogBuffer(int fd) {
    if (!RenderThread::hasInstance()) return;
    SETUP_TASK(outputLogBuffer);
    SETUP_TASK(outputLogBuffer);
    args->fd = fd;
    args->fd = fd;
    staticPostAndWait(task);
    staticPostAndWait(task);