mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-17 22:33:46 +08:00
Remove recorded object from registry in desturctor.
This commit is contained in:
@@ -24,6 +24,7 @@ RecordedObject::RecordedObject(v8::Handle<v8::Object> wrapper)
|
||||
}
|
||||
|
||||
RecordedObject::~RecordedObject() {
|
||||
AtomBrowserContext::Get()->objects_registry()->Remove(id());
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
Reference in New Issue
Block a user