From 24b7ae1bf48457fe31e0dbcd3b8343cc7ee25e0f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 6 Jan 2012 23:32:38 +0000 Subject: Browser window destruction destroys search context. svn path=/trunk/netsurf/; revision=13390 --- desktop/browser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop') diff --git a/desktop/browser.c b/desktop/browser.c index c75eb0137..a864a3601 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1902,6 +1902,10 @@ void browser_window_destroy_internal(struct browser_window *bw) } } + /* Destroying a search context causes it to redraw any deselected, + * content areas, so do this first */ + browser_window_search_destroy_context(bw); + /* Destruction order is important: we must ensure that the frontend * destroys any window(s) associated with this browser window before * we attempt any destructive cleanup. -- cgit v1.2.3