Revision: 19534
Author:   [email protected]
Date:     Tue Feb 25 09:27:05 2014 UTC
Log: Check that after a weak callback, the handle is either dead or strong

BUG=346061
[email protected]
LOG=y

Review URL: https://codereview.chromium.org/177943002
http://code.google.com/p/v8/source/detail?r=19534

Modified:
 /branches/bleeding_edge/src/global-handles.cc

=======================================
--- /branches/bleeding_edge/src/global-handles.cc Wed Dec 18 08:09:37 2013 UTC +++ /branches/bleeding_edge/src/global-handles.cc Tue Feb 25 09:27:05 2014 UTC
@@ -271,7 +271,7 @@
     }
     // Absence of explicit cleanup or revival of weak handle
     // in most of the cases would lead to memory leak.
-    ASSERT(state() != NEAR_DEATH);
+    CHECK(state() != NEAR_DEATH);
     return true;
   }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to