ecore_wl2: Take a library reference on tbmsurface create 64/182464/3
authorYeongJong Lee <yj34.lee@samsung.com>
Mon, 25 Jun 2018 07:15:56 +0000 (16:15 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Tue, 26 Jun 2018 05:14:43 +0000 (05:14 +0000)
commit87f2bf8bd15418191b1b155b5c4e81d283b328c9
tree77761f0b8e30365aa10f9ac542d65c44da95544d
parent1b55ff280972ba94e46e5322fe3f46f1457df444
ecore_wl2: Take a library reference on tbmsurface create

We need to call ecore_wl2_init in tbmbuf_surface_create because of this commit
0d27985677897363f148c92042ef3d3917796981

reproduction:
1. Call elm_init(0, NULL);
2. Call elm_shutdown();
3. Check that there is no CRI error message
[CRI<14619>:eina_log lib/ecore_wl2/ecore_wl2.c:238 ecore_wl2_shutdown() unknown log domain -1, original message was: ERR: 'Ecore_Wl2 shutdown called without Ecore_Wl2 Init']

or

1. In efl-test-suite, execute utc_elm_bg_add
2. Check that there is no CRI error message

Change-Id: If8ec5795109e7a87bb893bd1633ec454873b3de7
src/lib/ecore_wl2/ecore_wl2_tbmsurface.c