Index: fpdfsdk/src/javascript/JS_Runtime.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp |
index ba6d748ade90fe83c23056d1950b8f0f112e92fe..95f392487a070e422d49f57ff1e6bc1a86ae6b12 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp |
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp |
@@ -121,9 +121,7 @@ CJS_Runtime::~CJS_Runtime() { |
delete m_ContextArray.GetAt(i); |
m_ContextArray.RemoveAll(); |
-#ifndef PDF_ENABLE_XFA |
FXJS_ReleaseRuntime(GetIsolate(), &m_context, &m_StaticObjects); |
-#endif |
m_pApp = NULL; |
m_pDocument = NULL; |