| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index d7480fefe47b242cf32b57e044d53c205ba2870d..fafd50b18aa710bc14a706d8316f9efee0b1522c 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;
|
| }
|
|
|
|
|