DescriptionAdd a check that weak object handle is not in NEAR_DEATH state after weak callback invocation.
If object enters NEAR_DEATH state, it must be explicitly cleared and/or disposed, otherwise
it would retain JS object forever. Note as well that parameter is reset to NULL on first
invocation so weak handle callback would be in hard situation.
Committed: http://code.google.com/p/v8/source/detail?r=5096
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressing Mads' comments #
Messages
Total messages: 4 (0 generated)
|