Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index bac3069308ed5e6f95ba0ef77ebd1ff98b583e95..4146bd4c1d8469dfab3ccfd9cf8254e070fa9956 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -741,6 +741,7 @@ void Context::Exit() { |
i::Context* last_context = |
isolate->handle_scope_implementer()->RestoreContext(); |
isolate->set_context(last_context); |
+ isolate->set_context_exit_happened(true); |
Vyacheslav Egorov (Chromium)
2012/01/18 14:09:21
I think we should try to reuse existing ContextDis
Jakob Kummerow
2012/01/18 15:02:40
Done.
|
} |