diff options
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index 36ba3a9..1f61b23 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -395,6 +395,7 @@ CREATE_BRIDGE1(outputLogBuffer, int fd) { } void RenderProxy::outputLogBuffer(int fd) { + if (!RenderThread::hasInstance()) return; SETUP_TASK(outputLogBuffer); args->fd = fd; staticPostAndWait(task); |