| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 04155195a601e98ea8c9a88722197549fb99e51e..2d6f4dba80367dd323244f5fcfa10f09a899fc27 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1810,7 +1810,8 @@ void Isolate::Deinit() {
|
| if (FLAG_hydrogen_stats) GetHStatistics()->Print();
|
|
|
| // We must stop the logger before we tear down other components.
|
| - logger_->EnsureTickerStopped();
|
| + Sampler* sampler = logger_->sampler();
|
| + if (sampler && sampler->IsActive()) sampler->Stop();
|
|
|
| delete deoptimizer_data_;
|
| deoptimizer_data_ = NULL;
|
|
|