| Index: src/global-handles.cc
|
| diff --git a/src/global-handles.cc b/src/global-handles.cc
|
| index 5c65635d0f9f3c31f747656dee7ef4ac9bcbf20e..88ebe31647dc954fa21f0f5deca99dbf2ccc819b 100644
|
| --- a/src/global-handles.cc
|
| +++ b/src/global-handles.cc
|
| @@ -262,6 +262,7 @@ class GlobalHandles::Node {
|
| ExternalTwoByteString::cast(object_)->resource() != NULL);
|
| // Leaving V8.
|
| VMState<EXTERNAL> state(isolate);
|
| + HandleScope handle_scope(isolate);
|
| weak_reference_callback_(reinterpret_cast<v8::Isolate*>(isolate),
|
| reinterpret_cast<Persistent<Value>*>(&object),
|
| par);
|
|
|