Index: src/v8threads.cc |
diff --git a/src/v8threads.cc b/src/v8threads.cc |
index 410d0b133c1302f3aa0a28f9a289011d249e4668..8dc8e9aef45525536f7df8089c7ef84de9b44824 100644 |
--- a/src/v8threads.cc |
+++ b/src/v8threads.cc |
@@ -145,7 +145,7 @@ bool ThreadManager::RestoreThread() { |
from = isolate_->bootstrapper()->RestoreState(from); |
per_thread->set_thread_state(NULL); |
if (state->terminate_on_restore()) { |
- isolate_->stack_guard()->TerminateExecution(); |
+ isolate_->stack_guard()->RequestTerminateExecution(); |
state->set_terminate_on_restore(false); |
} |
state->set_id(ThreadId::Invalid()); |