Index: samples/process.cc |
diff --git a/samples/process.cc b/samples/process.cc |
index 844aee3d45fde306914dff0d4e8bf9173f4c3e52..e6f2ee3adddc222ae04aa155141969a16669eb77 100644 |
--- a/samples/process.cc |
+++ b/samples/process.cc |
@@ -291,9 +291,8 @@ JsHttpRequestProcessor::~JsHttpRequestProcessor() { |
// Dispose the persistent handles. When noone else has any |
// references to the objects stored in the handles they will be |
// automatically reclaimed. |
- Isolate* isolate = GetIsolate(); |
- context_.Dispose(isolate); |
- process_.Dispose(isolate); |
+ context_.Dispose(); |
+ process_.Dispose(); |
} |