Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 2e6a38b6aecedda421e719f0f120e08f0499a28b..f11b3f1adae5594dc872a22d11795851b9d8624f 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2631,8 +2631,8 @@ bool Isolate::PropagatePendingExceptionToExternalTryCatch() { |
} |
bool Isolate::InitializeCounters() { |
- if (counters_shared_) return false; |
- counters_shared_ = std::make_shared<Counters>(this); |
+ if (async_counters_) return false; |
+ async_counters_ = std::make_shared<Counters>(this); |
return true; |
} |