Invoke callback function after all internal work is done 26/191626/1
authorDeokhyun Kim <dukan.kim@samsung.com>
Fri, 19 Oct 2018 05:59:42 +0000 (14:59 +0900)
committerDeokhyun Kim <dukan.kim@samsung.com>
Fri, 19 Oct 2018 05:59:42 +0000 (14:59 +0900)
commit438df06a0ca0132254c5c0d5c073ffcf6fc3a37d
tree47e971dd223dfe7b3c036ee33a8511762905e58e
parenta4c673b9658f11a13b8fbee7e93c1a5fd702083f
Invoke callback function after all internal work is done

 - Prevent to access freed service after GATT is destroyed in callback function

Change-Id: I8aa33c48cdcf246578552a58aaa2cad7a94a589c
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
bt-api/bt-gatt-service.c