| Index: athena/screen/screen_manager_impl.cc
|
| diff --git a/athena/screen/screen_manager_impl.cc b/athena/screen/screen_manager_impl.cc
|
| index bb177e789e7e0ccc57b5bff2dc3b9b555fdbd7b5..06f553ace99fb1ecd5312a3dfd05bcbd486472d8 100644
|
| --- a/athena/screen/screen_manager_impl.cc
|
| +++ b/athena/screen/screen_manager_impl.cc
|
| @@ -240,6 +240,13 @@ ScreenManagerImpl::~ScreenManagerImpl() {
|
| root_window_->RemovePreTargetHandler(focus_controller);
|
| aura::client::SetActivationClient(root_window_, NULL);
|
| aura::client::SetFocusClient(root_window_, NULL);
|
| + aura::Window::Windows children = root_window_->children();
|
| + // Close All children:
|
| + for (aura::Window::Windows::iterator iter = children.begin();
|
| + iter != children.end();
|
| + ++iter) {
|
| + delete *iter;
|
| + }
|
| instance = NULL;
|
| }
|
|
|
|
|