Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index 35b8aa0fcb491dc6be28a5891ff39f47964dbc62..6f179edf0e13a205151a4e97e22fe48fd3aaadba 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -730,6 +730,7 @@ void Context::Exit() { |
| i::Context* last_context = |
| isolate->handle_scope_implementer()->RestoreContext(); |
| isolate->set_context(last_context); |
| + isolate->set_context_exit_happened(true); |
| } |