mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Cleanup per review comment
This commit is contained in:
@@ -64,7 +64,7 @@ class TrackableObject : public TrackableObjectBase,
|
||||
void MarkDestroyed() {
|
||||
v8::Local<v8::Object> wrapper = Wrappable<T>::GetWrapper();
|
||||
if (!wrapper.IsEmpty()) {
|
||||
Wrappable<T>::GetWrapper()->SetAlignedPointerInInternalField(0, nullptr);
|
||||
wrapper->SetAlignedPointerInInternalField(0, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user