Fix bug #3138151: shut down caches before killing off fetch layer

svn path=/trunk/netsurf/; revision=11069
This commit is contained in:
John Mark Bell 2010-12-16 00:03:57 +00:00
parent 064c8e50d2
commit c96f682d9d

View File

@ -176,16 +176,16 @@ void netsurf_exit(void)
{ {
LOG(("Closing GUI")); LOG(("Closing GUI"));
gui_quit(); gui_quit();
LOG(("Finalising high-level cache"));
hlcache_finalise();
LOG(("Finalising low-level cache"));
llcache_finalise();
LOG(("Closing fetches")); LOG(("Closing fetches"));
fetch_quit(); fetch_quit();
LOG(("Closing utf8")); LOG(("Closing utf8"));
utf8_finalise(); utf8_finalise();
LOG(("Destroying URLdb")); LOG(("Destroying URLdb"));
urldb_destroy(); urldb_destroy();
LOG(("Finalising high-level cache"));
hlcache_finalise();
LOG(("Finalising low-level cache"));
llcache_finalise();
LOG(("Remaining lwc strings:")); LOG(("Remaining lwc strings:"));
lwc_iterate_strings(netsurf_lwc_iterator, NULL); lwc_iterate_strings(netsurf_lwc_iterator, NULL);
LOG(("Exited successfully")); LOG(("Exited successfully"));