Fix : bt-service couldn't get DisableAdapter reply 09/142509/1
authorDeokhyun Kim <dukan.kim@samsung.com>
Fri, 4 Aug 2017 05:55:30 +0000 (14:55 +0900)
committerDeokhyun Kim <dukan.kim@samsung.com>
Fri, 4 Aug 2017 05:55:30 +0000 (14:55 +0900)
commit3442fee9314356ff976b18650ecf813db7d50d06
tree49cd7341157e73059c9fd35bc5b2c781b609c701
parent773f09ada57cdd22e870d2434c1e4fb1be3abeae
Fix : bt-service couldn't get DisableAdapter reply

 bt-core is terminated too fastly so that there is no chance to get reply for
 bt-service. This patch terminates bt-core after default BT adapter is removed.
 It will guarantee that bt-service get the reply to method call. In case of
 bluetoothd crash, it will terminate with some delay instead of interface
 removed event.

Change-Id: I1c0e694c90cafa8d4bab9b36404a9416396505c2
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
bt-core/bt-core-adapter.c