Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index cd6c3da078af24b0a83bf640e950ca33c60ec884..6fab6a063e639064e30a121b4480598436b0d8fe 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -477,6 +477,8 @@ class HandleScopeImplementer { |
entered_contexts_.Initialize(0); |
saved_contexts_.Initialize(0); |
spare_ = NULL; |
+ deferred_handles_head_ = NULL; |
+ last_handle_before_deferred_block_ = NULL; |
call_depth_ = 0; |
} |
@@ -484,6 +486,7 @@ class HandleScopeImplementer { |
ASSERT(blocks_.length() == 0); |
ASSERT(entered_contexts_.length() == 0); |
ASSERT(saved_contexts_.length() == 0); |
+ ASSERT(deferred_handles_head_ == NULL); |
blocks_.Free(); |
entered_contexts_.Free(); |
saved_contexts_.Free(); |