Bug 856 - Teardown sequence is borked
authorNeil Roberts <neil@openedhand.com>
Mon, 22 Sep 2008 16:36:27 +0000 (16:36 +0000)
committerNeil Roberts <neil@openedhand.com>
Mon, 22 Sep 2008 16:36:27 +0000 (16:36 +0000)
commit72c9f88019cd12c36e08483af0de0b6b9300e2d1
tree7861628742252fea4c1f74223ac4cb6b6dff3bc3
parent21c1986a41132a3ecb9eb903c275f2993f2ee07e
Bug 856 - Teardown sequence is borked

* clutter/clutter-main.c: Don't free the ClutterMainContext so
that the main loop can be restarted.

* clutter/eglx/clutter-backend-egl.c:
* clutter/eglnative/clutter-backend-egl.c: Register an atexit
handler which disposes the backend object so that we are still
guaranteed to call eglTerminate on GLES.
ChangeLog
clutter/clutter-main.c
clutter/eglnative/clutter-backend-egl.c
clutter/eglx/clutter-backend-egl.c