am 6d93e43c: Part of fix for TEE resource leaks when app crashes
* commit '6d93e43c3a36ab66d4550c37c170a967fc1d6685': Part of fix for TEE resource leaks when app crashes
This commit is contained in:
@@ -40,6 +40,11 @@ WVDrmPlugin::~WVDrmPlugin() {
|
||||
ALOGE("Received failure when trying to detach WVDrmPlugin as an event"
|
||||
"listener.");
|
||||
}
|
||||
|
||||
CdmResponseType res = mCDM->CloseSession(iter->first);
|
||||
if (!isCdmResponseTypeSuccess(res)) {
|
||||
ALOGE("Failed to close session while destroying WVDrmPlugin");
|
||||
}
|
||||
}
|
||||
mCryptoSessions.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user