Do not destroy GLSharedContextEflPrivate instance on exit.
authorWojciech Wiśniewski <w.wisniewski@samsung.com>
Tue, 13 Jan 2015 12:48:12 +0000 (13:48 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit1f99151249c20e05929c10eb7d7a9c0a26077bcd
tree48d9b5626d1fe00288cbaedf93d64063348564f1
parent92058ac20db7e6fc2b14519b8049b3f1477922fb
Do not destroy GLSharedContextEflPrivate instance on exit.

Destructor of GLSharedContextEflPrivate instance is firing on content_shell_efl exit time.
This destructor is calling evas_gl_surface_destroy, but EFL at this time is deinitialized already
and calling this function causes segfault.

The solution is simply to not destory GLSharedContextEflPrivate instance (it's static global
object, and we are exiting anyway).
Reviewed by: Daniel Waślicki, Min-Soo Koo, Viatcheslav Ostapenko

Change-Id: I43f9608eafea1c7502ce1219e6c8a8576aa1face
Signed-off-by: Wojciech Wiśniewski <w.wisniewski@samsung.com>
tizen_src/impl/gl/gl_shared_context_efl.cc