Loading services/bufferhub/BufferClient.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,14 @@ BufferClient* BufferClient::create(BufferHubService* service, } BufferClient::~BufferClient() { { std::lock_guard<std::mutex> lock(mClosedMutex); if (!mClosed) { ALOGW("%s: client of buffer #%d destroyed without close. Closing it now.", __FUNCTION__, mBufferNode->id()); } } close(); } Loading Loading
services/bufferhub/BufferClient.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,14 @@ BufferClient* BufferClient::create(BufferHubService* service, } BufferClient::~BufferClient() { { std::lock_guard<std::mutex> lock(mClosedMutex); if (!mClosed) { ALOGW("%s: client of buffer #%d destroyed without close. Closing it now.", __FUNCTION__, mBufferNode->id()); } } close(); } Loading