Chromium Code Reviews| Index: components/policy/core/common/cloud/cloud_policy_core.cc |
| diff --git a/components/policy/core/common/cloud/cloud_policy_core.cc b/components/policy/core/common/cloud/cloud_policy_core.cc |
| index 302808e16d8f40562e266ef5556fdf7c9fa67cec..a2fd68e588f7e0ff9ee656b005a4988a0404338b 100644 |
| --- a/components/policy/core/common/cloud/cloud_policy_core.cc |
| +++ b/components/policy/core/common/cloud/cloud_policy_core.cc |
| @@ -49,6 +49,7 @@ void CloudPolicyCore::Disconnect() { |
| FOR_EACH_OBSERVER(Observer, observers_, OnCoreDisconnecting(this)); |
| refresh_delay_.reset(); |
| refresh_scheduler_.reset(); |
| + remote_commands_service_.reset(); |
|
bartfab (slow)
2015/05/18 12:24:49
If another Connect() call is made later, will Star
binjin
2015/05/18 12:28:56
No. Unless another StartRemoteCommandsService call
bartfab (slow)
2015/05/18 12:30:45
Sure, it does not need to be automatic and tied to
binjin
2015/05/18 12:37:12
I see. I did a grep and the only place where Start
bartfab (slow)
2015/05/19 09:31:08
I checked: All the other Connect() calls deal with
|
| service_.reset(); |
| client_.reset(); |
| } |