projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b72c3
)
Remove recorded object from registry in desturctor.
author
Cheng Zhao
<zcbenz@gmail.com>
Sun, 21 Apr 2013 08:27:30 +0000
(16:27 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Sun, 21 Apr 2013 08:27:30 +0000
(16:27 +0800)
browser/api/atom_api_recorded_object.cc
patch
|
blob
|
history
diff --git
a/browser/api/atom_api_recorded_object.cc
b/browser/api/atom_api_recorded_object.cc
index
f530baf
..
142bb50
100644
(file)
--- a/
browser/api/atom_api_recorded_object.cc
+++ b/
browser/api/atom_api_recorded_object.cc
@@
-24,6
+24,7
@@
RecordedObject::RecordedObject(v8::Handle<v8::Object> wrapper)
}
RecordedObject::~RecordedObject() {
+ AtomBrowserContext::Get()->objects_registry()->Remove(id());
}
// static