Cleanup per review comment

This commit is contained in:
Matt Crocker 2017-10-27 00:07:54 -07:00
parent 77a26882a3
commit b6fb016a9a

View file

@ -64,7 +64,7 @@ class TrackableObject : public TrackableObjectBase,
void MarkDestroyed() { void MarkDestroyed() {
v8::Local<v8::Object> wrapper = Wrappable<T>::GetWrapper(); v8::Local<v8::Object> wrapper = Wrappable<T>::GetWrapper();
if (!wrapper.IsEmpty()) { if (!wrapper.IsEmpty()) {
Wrappable<T>::GetWrapper()->SetAlignedPointerInInternalField(0, nullptr); wrapper->SetAlignedPointerInInternalField(0, nullptr);
} }
} }