Index: src/v8threads.cc |
diff --git a/src/v8threads.cc b/src/v8threads.cc |
index 788786dbfdf683b9a2fea2120fcc6468d343145a..b799126563fd9c0eb88d9b1787b2dcf4e16d6d6d 100644 |
--- a/src/v8threads.cc |
+++ b/src/v8threads.cc |
@@ -37,15 +37,6 @@ void Locker::Initialize(v8::Isolate* isolate) { |
isolate_->thread_manager()->Lock(); |
has_lock_ = true; |
- // Make sure that V8 is initialized. Archiving of threads interferes |
- // with deserialization by adding additional root pointers, so we must |
- // initialize here, before anyone can call ~Locker() or Unlocker(). |
- if (!isolate_->IsInitialized()) { |
- isolate_->Enter(); |
- V8::Initialize(); |
- isolate_->Exit(); |
- } |
- |
// This may be a locker within an unlocker in which case we have to |
// get the saved state for this thread and restore it. |
if (isolate_->thread_manager()->RestoreThread()) { |