update services/drm_service/server/src/key_session_service_stub.cpp.

Signed-off-by: baoxy92 <baoxianyue@hisilicon.com>
This commit is contained in:
baoxy92
2024-08-17 09:12:00 +00:00
committed by Gitee
parent b0e9868695
commit fa225bfaca
@@ -105,12 +105,6 @@ static int32_t ProcessRleaseKeySession(MediaKeySessionServiceStub *stub, Message
MessageOption &option)
{
DRM_INFO_LOG("ProcessRleaseKeySession enter.");
if (clientListener_ != nullptr && clientListener_->AsObject() != nullptr && deathRecipient_ != nullptr) {
DRM_DEBUG_LOG("This MediaKeySessionServiceStub has already set listener!");
(void)clientListener_->AsObject()->RemoveDeathRecipient(deathRecipient_);
deathRecipient_ = nullptr;
clientListener_ = nullptr;
}
int32_t ret = stub->Release();
return ret;
}