Cleanup per review comment
This commit is contained in:
parent
77a26882a3
commit
b6fb016a9a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue