Index: fpdfsdk/src/jsapi/fxjs_v8.cpp |
diff --git a/fpdfsdk/src/jsapi/fxjs_v8.cpp b/fpdfsdk/src/jsapi/fxjs_v8.cpp |
index 9b6b5fa445c46f7cadc61dae8fbc6a8c33551d66..f015f87136e001e94b5bfcd35c7f07557ac8fff1 100644 |
--- a/fpdfsdk/src/jsapi/fxjs_v8.cpp |
+++ b/fpdfsdk/src/jsapi/fxjs_v8.cpp |
@@ -370,11 +370,6 @@ void FXJS_ReleaseRuntime(v8::Isolate* pIsolate, |
return; |
pData->ReleaseDynamicObjsMap(); |
-#ifdef PDF_ENABLE_XFA |
- // XFA, if present, should have already cleaned itself up. |
- FXSYS_assert(!pData->m_pFXJSERuntimeData); |
-#endif // PDF_ENABLE_XFA |
- |
int maxID = CFXJS_ObjDefinition::MaxID(pIsolate); |
for (int i = 0; i < maxID; ++i) { |
CFXJS_ObjDefinition* pObjDef = CFXJS_ObjDefinition::ForID(pIsolate, i); |