Commit 6eb2d358 authored by jochen@chromium.org's avatar jochen@chromium.org

Check that after a weak callback, the handle is either dead or strong

BUG=346061
R=dcarney@chromium.org
LOG=y

Review URL: https://codereview.chromium.org/177943002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19534 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cb05cff5
...@@ -271,7 +271,7 @@ class GlobalHandles::Node { ...@@ -271,7 +271,7 @@ class GlobalHandles::Node {
} }
// Absence of explicit cleanup or revival of weak handle // Absence of explicit cleanup or revival of weak handle
// in most of the cases would lead to memory leak. // in most of the cases would lead to memory leak.
ASSERT(state() != NEAR_DEATH); CHECK(state() != NEAR_DEATH);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment