Ensure crypto gets terminated on error.

automerge: b3650a9

* commit 'b3650a9661a7c1cac1c876f70a040d8a6f523657':
  Ensure crypto gets terminated on error.
This commit is contained in:
Jeff Tinker
2014-10-18 03:30:37 +00:00
committed by android-build-merger

View File

@@ -204,6 +204,9 @@ void WVMExtractorImpl::Initialize()
if (mSetupStatus != OK) {
setError(mSetupStatus);
if (mCryptoInitialized) {
OEMCrypto_Terminate();
}
}
WV_SetWarningToErrorMS(10000);