From 0c2aa6e6abda77b67af91b32721b228097326d6d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 23 Aug 2005 08:21:46 +0000 Subject: Move comment about missing cleanup of caches on XCloseDisplay from BUGS to a _cairo_xlib_close_display. Also covered in bug #4120. --- BUGS | 7 ------- ChangeLog | 7 +++++++ src/cairo-xlib-screen.c | 3 +++ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/BUGS b/BUGS index c8fa6063..20281bf4 100644 --- a/BUGS +++ b/BUGS @@ -1,10 +1,3 @@ -cairo-xlib-surface needs to do the Xlib register extension hack so -that it can listen for a Display close event. When it gets that, it -needs to run through its caches and eliminate anything associated with -that display. - --- - The caches need to be invalidated at font destruction time. -- diff --git a/ChangeLog b/ChangeLog index 8c731f08..161fcfb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-08-23 Carl Worth + + * BUGS: + * src/cairo-xlib-screen.c: Move comment about missing cleanup of + caches on XCloseDisplay from BUGS to a + _cairo_xlib_close_display. Also covered in bug #4120. + 2005-08-23 Carl Worth * test/Makefile.am: diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c index e71d10ec..8ac6d89c 100644 --- a/src/cairo-xlib-screen.c +++ b/src/cairo-xlib-screen.c @@ -247,6 +247,9 @@ CAIRO_MUTEX_DECLARE(_xlib_screen_mutex); static cairo_xlib_screen_info_t *_cairo_xlib_screen_list = NULL; +/* XXX: From this function we should also run through and cleanup + * anything else that still has a pointer to this Display*. For + * example, we should clean up any Xlib-specific glyph caches. */ static int _cairo_xlib_close_display (Display *dpy, XExtCodes *codes) { -- cgit v1.2.3