Fix osp_server unregister issue 23/230123/2
authorWootak Jung <wootak.jung@samsung.com>
Wed, 8 Apr 2020 05:48:49 +0000 (14:48 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 8 Apr 2020 06:12:46 +0000 (15:12 +0900)
commite690a9b4e486e0c7b009250901c06f3853b32bf1
tree07102dc34bd94e9db794b913d203e74d691207da
parenta8373d97e95041c7ea9ea0088021f4f1874bf754
Fix osp_server unregister issue

osp_server is not removed if app terminated

issue scenario:
rfcomm server create & listen > connected > server app termination
> new rfcomm server create & listen > try to connect > failed

Change-Id: I573bae5bafb94959cf5799c6be0f51b84d9576b3
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-service-adaptation/services/bt-request-handler.c
bt-service-adaptation/services/bt-service-common.c
bt-service-adaptation/services/bt-service-main.c
bt-service-adaptation/services/include/bt-service-common.h
bt-service-adaptation/services/rfcomm/bt-service-rfcomm.c