Add exception handle for multithread case.
authorXuelian <xuelian.bai@samsung.com>
Tue, 12 May 2020 11:00:12 +0000 (19:00 +0800)
committerXuelian Bai <xuelian.bai@samsung.com>
Thu, 18 Jan 2024 01:29:10 +0000 (09:29 +0800)
commit46e08c9850740fad5bc147ed87d939d6500dec60
tree2e2aa6673d6555bd15477d1c0754829c5c94887b
parent4778ca8d76b61195c4b1d8a861864cc3b563cd39
Add exception handle for multithread case.

In some cases, main thread got some problem and exit with calling
_eglAtExit, while another thread may still be running, that will
cause assert in mesa.

Change-Id: I6ee87abcb8c818e8a6808cd6098f4061bf7779b2
Signed-Off-by: Xuelian Bai <xuelian.bai@samsung.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/main/egldevice.c