Remove recorded object from registry in desturctor.
This commit is contained in:
parent
b0b72c36e4
commit
ebf5bf2d19
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ RecordedObject::RecordedObject(v8::Handle<v8::Object> wrapper)
|
||||||
}
|
}
|
||||||
|
|
||||||
RecordedObject::~RecordedObject() {
|
RecordedObject::~RecordedObject() {
|
||||||
|
AtomBrowserContext::Get()->objects_registry()->Remove(id());
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue