Browser window destruction destroys search context.

svn path=/trunk/netsurf/; revision=13390
This commit is contained in:
Michael Drake 2012-01-06 23:32:38 +00:00
parent cc2b4477b0
commit 24b7ae1bf4

View File

@ -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.