Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 1530ff03f340a3206624d6ba99ee100a8fbe2002..fdfbff1c8e8ee3df0b5df0c721a62ce5f34eb294 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -4995,12 +4995,6 @@ void v8::V8::SetArrayBufferAllocator( |
bool v8::V8::Dispose() { |
- i::Isolate* isolate = i::Isolate::Current(); |
- if (!Utils::ApiCheck(isolate != NULL && isolate->IsDefaultIsolate(), |
- "v8::V8::Dispose()", |
- "Use v8::Isolate::Dispose() for non-default isolate.")) { |
- return false; |
- } |
i::V8::TearDown(); |
return true; |
} |