diff --git a/shell/common/thread_host.cc b/shell/common/thread_host.cc index fdae202a53cce..2e0d539fa82f0 100644 --- a/shell/common/thread_host.cc +++ b/shell/common/thread_host.cc @@ -35,12 +35,4 @@ ThreadHost::ThreadHost(std::string name_prefix_arg, uint64_t mask) ThreadHost::~ThreadHost() = default; -void ThreadHost::Reset() { - platform_thread.reset(); - ui_thread.reset(); - raster_thread.reset(); - io_thread.reset(); - profiler_thread.reset(); -} - } // namespace flutter diff --git a/shell/common/thread_host.h b/shell/common/thread_host.h index c5db31938563e..d944963282cb9 100644 --- a/shell/common/thread_host.h +++ b/shell/common/thread_host.h @@ -38,8 +38,6 @@ struct ThreadHost { ThreadHost(std::string name_prefix, uint64_t type_mask); ~ThreadHost(); - - void Reset(); }; } // namespace flutter diff --git a/shell/platform/android/android_shell_holder.cc b/shell/platform/android/android_shell_holder.cc index 6a71c24e232fa..6e17072a6edde 100644 --- a/shell/platform/android/android_shell_holder.cc +++ b/shell/platform/android/android_shell_holder.cc @@ -170,7 +170,7 @@ AndroidShellHolder::AndroidShellHolder( AndroidShellHolder::~AndroidShellHolder() { shell_.reset(); - thread_host_->Reset(); + thread_host_.reset(); } bool AndroidShellHolder::IsValid() const {