mirror of
https://github.com/openharmony/multimedia_drm_framework.git
synced 2026-08-27 03:41:20 -04:00
update services/drm_service/server/src/key_session_service_stub.cpp.
Signed-off-by: baoxy92 <baoxianyue@hisilicon.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user