| Index: ash/host/ash_window_tree_host_unified.cc
|
| diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
|
| index d213c87401dd536ebedb07c68ace71cb44364031..b36223ffcaf72d332135108b107374812487cbc5 100644
|
| --- a/ash/host/ash_window_tree_host_unified.cc
|
| +++ b/ash/host/ash_window_tree_host_unified.cc
|
| @@ -53,6 +53,9 @@ AshWindowTreeHostUnified::AshWindowTreeHostUnified(
|
| }
|
|
|
| AshWindowTreeHostUnified::~AshWindowTreeHostUnified() {
|
| + for (auto* ash_host : mirroring_hosts_)
|
| + ash_host->AsWindowTreeHost()->window()->RemoveObserver(this);
|
| +
|
| DestroyCompositor();
|
| DestroyDispatcher();
|
| }
|
|
|