summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Define.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/JS_Define.h')
-rw-r--r--fpdfsdk/javascript/JS_Define.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/JS_Define.h b/fpdfsdk/javascript/JS_Define.h
index 17dd8e9c70..feab4d1996 100644
--- a/fpdfsdk/javascript/JS_Define.h
+++ b/fpdfsdk/javascript/JS_Define.h
@@ -261,7 +261,6 @@ void JSMethod(const char* method_name_string,
v8::Local<v8::Object> obj) { \
js_class_name* pObj = \
static_cast<js_class_name*>(pEngine->GetObjectPrivate(obj)); \
- pObj->ExitInstance(); \
delete pObj; \
} \
void js_class_name::DefineProps(CFXJS_Engine* pEngine) { \