mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 242756.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1553 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -1053,12 +1053,13 @@ CefV8ValueImpl::Handle::~Handle() {
|
||||
(tracker_ ?
|
||||
new CefV8MakeWeakParam(isolate(), context_state_, tracker_) : NULL),
|
||||
TrackDestructor);
|
||||
} else {
|
||||
handle_.Reset();
|
||||
|
||||
if (tracker_)
|
||||
delete tracker_;
|
||||
} else if (tracker_) {
|
||||
delete tracker_;
|
||||
}
|
||||
|
||||
// Always call Reset() on a persistent handle to avoid the
|
||||
// CHECK(state() != NEAR_DEATH) in V8's PostGarbageCollectionProcessing.
|
||||
handle_.Reset();
|
||||
tracker_ = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user