Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f8441e5

Browse files
committed
Changed clearing out the threadhost with removing a reference to the threadhost.
1 parent 7a67298 commit f8441e5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

shell/common/thread_host.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ThreadHost::ThreadHost(std::string name_prefix_arg, uint64_t mask)
3535

3636
ThreadHost::~ThreadHost() = default;
3737

38-
void ThreadHost::Reset() {
38+
void ThreadHost::ResetThreads() {
3939
platform_thread.reset();
4040
ui_thread.reset();
4141
raster_thread.reset();

shell/common/thread_host.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct ThreadHost {
3939

4040
~ThreadHost();
4141

42-
void Reset();
42+
void ResetThreads();
4343
};
4444

4545
} // namespace flutter

shell/platform/android/android_shell_holder.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ AndroidShellHolder::AndroidShellHolder(
170170

171171
AndroidShellHolder::~AndroidShellHolder() {
172172
shell_.reset();
173-
thread_host_->Reset();
173+
thread_host_.reset();
174174
}
175175

176176
bool AndroidShellHolder::IsValid() const {

0 commit comments

Comments
 (0)