Chromium Code Reviews| Index: components/arc/arc_bridge_service.cc |
| diff --git a/components/arc/arc_bridge_service.cc b/components/arc/arc_bridge_service.cc |
| index 34e31bb83f164be2c59dcd37d647e1bef7f02cd2..684b92b7883fc978c083d22354d9dcacd2f0c655 100644 |
| --- a/components/arc/arc_bridge_service.cc |
| +++ b/components/arc/arc_bridge_service.cc |
| @@ -61,8 +61,10 @@ void ArcBridgeService::SetState(State state) { |
| VLOG(2) << "State: " << static_cast<uint32_t>(state_); |
| if (state_ == State::READY) |
| FOR_EACH_OBSERVER(Observer, observer_list(), OnBridgeReady()); |
| - else if (state == State::STOPPED) |
| + else if (state == State::STOPPED) { |
| FOR_EACH_OBSERVER(Observer, observer_list(), OnBridgeStopped(stop_reason_)); |
| + app_.CloseChannel(); |
|
Luis Héctor Chávez
2016/07/20 00:01:15
Hmmmm I don't like this. Is there any way you can
|
| + } |
| } |
| void ArcBridgeService::SetAvailable(bool available) { |