Fixed tdm_source to destroy when error occurs in tdm. 10/228910/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 26 Mar 2020 06:57:29 +0000 (15:57 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 26 Mar 2020 06:57:33 +0000 (15:57 +0900)
commit1946f1ce6ed71ce3ca9a180651439d38c38413e5
treeb863de7ede9470f336842b2b3812842ab2983f51
parentb963d7b5fb1a71e886606cf3b0e7b813f51c44ee
Fixed tdm_source to destroy when error occurs in tdm.

 - If an error occurs in tdm_client_handle_events, it cannot be recovered.
  When tdm_source is no longer available due to an unexpected situation,
  twe_thread must remove it from the thread and destroy it.
 - In that case, tdm_vblank can no longer be used for surfaces and display
  that used the tdm_source.

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