tpl_wayland_egl_thread: Fixed to send signal when tdm_source already detroyed. 54/194254/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Fri, 30 Nov 2018 04:52:23 +0000 (13:52 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Fri, 30 Nov 2018 04:52:27 +0000 (13:52 +0900)
commita8060332c39061fcf98a41e2faed6b5764c2227d
tree5c2135db651794e7c3aa24519f218bfa95c1f10d
parent80024ebbc3eee5fdbd3b59ca93386059fb4e2824
tpl_wayland_egl_thread: Fixed to send signal when tdm_source already detroyed.

 - If there was an error when processing tdm_client_handle_events(),
  tdm_source would have been destroyed before the process terminated.
 - In this case, when Main thread terminate its twe_thread,
  main thread will have to wait for the tdm_source destroy signal.

Change-Id: If2a8afb8dc801e5313e33298d9b320d4976e1480
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c