diff options
author | Sho Amano <samano@xevo.com> | 2018-06-28 16:06:58 +0900 |
---|---|---|
committer | Sho Amano <samano@xevo.com> | 2018-06-28 17:36:33 +0900 |
commit | 02809b82e30547da4e0b9af0f6db924930d97a7d (patch) | |
tree | fe86d8d3818026719d00bb5348db4c2c339215b7 | |
parent | 7eaaf662ba2b60f177c4999a21178f7cf55b24c4 (diff) | |
download | sdl_core-02809b82e30547da4e0b9af0f6db924930d97a7d.tar.gz |
Revert "End navi services on unregistering application"
This reverts commit 7f9ed8aa6ab076d7f22f5e06a04bdfa607430e5b.
-rw-r--r-- | src/components/application_manager/src/application_manager_impl.cc | 1 | ||||
-rw-r--r-- | src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/application_manager_impl.cc b/src/components/application_manager/src/application_manager_impl.cc index d4d029deaf..a69b6a34a1 100644 --- a/src/components/application_manager/src/application_manager_impl.cc +++ b/src/components/application_manager/src/application_manager_impl.cc @@ -3342,7 +3342,6 @@ void ApplicationManagerImpl::UnregisterApplication( MessageHelper::SendUnsubscribedWayPoints(*this); } - EndNaviServices(app_id); { sync_primitives::AutoLock lock(navi_service_status_lock_); diff --git a/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc b/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc index d7056a624e..d40ad9c870 100644 --- a/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc +++ b/src/components/application_manager/src/commands/mobile/unregister_app_interface_request.cc @@ -53,6 +53,7 @@ void UnregisterAppInterfaceRequest::Run() { connection_key(), mobile_api::AppInterfaceUnregisteredReason::INVALID_ENUM), commands::Command::ORIGIN_SDL); + application_manager_.EndNaviServices(connection_key()); application_manager_.UnregisterApplication(connection_key(), mobile_apis::Result::SUCCESS); SendResponse(true, mobile_apis::Result::SUCCESS); |