projects
/
platform
/
core
/
uifw
/
libtpl-egl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76e6e9
)
Add mutex lock/unlock before when clear mutex.
93/254793/1
author
Joonbum Ko
<joonbum.ko@samsung.com>
Thu, 4 Mar 2021 01:36:02 +0000
(10:36 +0900)
committer
Joonbum Ko
<joonbum.ko@samsung.com>
Tue, 9 Mar 2021 08:53:16 +0000
(17:53 +0900)
Change-Id: Ibeed901734d50be64fce2843ee93982e4071a5cf
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wl_egl.c
patch
|
blob
|
history
diff --git
a/src/tpl_wl_egl.c
b/src/tpl_wl_egl.c
index
36310eb
..
5d7b669
100644
(file)
--- a/
src/tpl_wl_egl.c
+++ b/
src/tpl_wl_egl.c
@@
-1950,6
+1950,8
@@
__tpl_wl_egl_surface_fini(tpl_surface_t *surface)
tpl_gmutex_unlock(&wl_egl_surface->presentation_sync.mutex);
tpl_gmutex_clear(&wl_egl_surface->presentation_sync.mutex);
+ tpl_gmutex_lock(&wl_egl_surface->surf_mutex);
+ tpl_gmutex_unlock(&wl_egl_surface->surf_mutex);
tpl_gmutex_clear(&wl_egl_surface->surf_mutex);
tpl_gcond_clear(&wl_egl_surface->surf_cond);