Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

chakrashim: remove stale ref objectInstance #432

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion deps/chakrashim/src/v8chakra.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ class ObjectData: public ExternalData {
bool isRefValue;
};

JsValueRef objectInstance;
Persistent<ObjectTemplate> objectTemplate; // Original ObjectTemplate
SetterGetterInterceptor * setterGetterInterceptor;
int internalFieldCount;
Expand Down
1 change: 0 additions & 1 deletion deps/chakrashim/src/v8objecttemplate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,6 @@ Local<Object> ObjectTemplate::NewInstance(Handle<Object> prototype) {
return Local<Object>();
}

objectData->objectInstance = newInstanceRef;
return Local<Object>::New(static_cast<Object*>(newInstanceRef));
}

Expand Down