| Index: athena/home/home_card_impl.cc
|
| diff --git a/athena/home/home_card_impl.cc b/athena/home/home_card_impl.cc
|
| index 9a8526d8c36be6653adc847d33f9a8112121777a..d16ff9c24a08b071286e2afee5a614d1dfbf9aa2 100644
|
| --- a/athena/home/home_card_impl.cc
|
| +++ b/athena/home/home_card_impl.cc
|
| @@ -486,6 +486,11 @@ HomeCardImpl::~HomeCardImpl() {
|
| if (activation_client_)
|
| activation_client_->RemoveObserver(this);
|
| home_card_widget_->CloseNow();
|
| +
|
| + // Reset the view delegate first as it access search provider during
|
| + // shutdown.
|
| + view_delegate_.reset();
|
| + search_provider_.reset();
|
| instance = NULL;
|
| }
|
|
|
|
|