Ensure crypto gets terminated on error.
automerge: b3650a9
* commit 'b3650a9661a7c1cac1c876f70a040d8a6f523657':
Ensure crypto gets terminated on error.
This commit is contained in:
@@ -204,6 +204,9 @@ void WVMExtractorImpl::Initialize()
|
||||
|
||||
if (mSetupStatus != OK) {
|
||||
setError(mSetupStatus);
|
||||
if (mCryptoInitialized) {
|
||||
OEMCrypto_Terminate();
|
||||
}
|
||||
}
|
||||
|
||||
WV_SetWarningToErrorMS(10000);
|
||||
|
||||
Reference in New Issue
Block a user