Release resources for the notify file destriptor properly 59/216659/3 accepted/tizen/unified/20191101.042113 submit/tizen/20191031.005137
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 30 Oct 2019 06:43:35 +0000 (15:43 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 30 Oct 2019 07:10:05 +0000 (16:10 +0900)
commit9f1af9cb1dfc0c773e09a84ec6093a6358d2a229
tree8194f5feb2a604e4116f1272dd63c7117e3de989
parente525e8a5f36e697b6c6b06dc6874923ac4ddf561
Release resources for the notify file destriptor properly

If we close the fd only, io channel and watcher resource is
not released. So it occurs critical problems with next logs.

ecore<4672> ../src/lib/ecore/ecore_main.c:2083 _ecore_main_fd_handlers_bads_rem() Removing bad fds
ecore<4672> ../src/lib/ecore/ecore_main.c:2130 _ecore_main_fd_handlers_bads_rem() No bad fd found. Maybe a foreign fd from glib?

Change-Id: I683aa747018ff6139d31b48207b568da4dab8cae
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-api/bt-gatt-client.c
bt-api/include/bt-gatt-client.h