Index: fpdfsdk/javascript/JS_Define.h |
diff --git a/fpdfsdk/javascript/JS_Define.h b/fpdfsdk/javascript/JS_Define.h |
index 17dd8e9c7042a271a076a90e87ced47e0c9dbb86..feab4d1996ff886d208456579f3173aa34d4150a 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) { \ |