Move js_finalise(). Fix provided by Ole Loots (mono)

svn path=/trunk/netsurf/; revision=14014
This commit is contained in:
Daniel Silverstone 2012-06-29 20:37:32 +00:00
parent 5ca30e057a
commit 8551b9dff0
1 changed files with 3 additions and 2 deletions

View File

@ -253,13 +253,14 @@ int netsurf_main_loop(void)
void netsurf_exit(void) void netsurf_exit(void)
{ {
js_finalise();
hlcache_stop(); hlcache_stop();
LOG(("Closing GUI")); LOG(("Closing GUI"));
gui_quit(); gui_quit();
LOG(("Finalising JavaScript"));
js_finalise();
LOG(("Closing search and related resources")); LOG(("Closing search and related resources"));
search_web_cleanup(); search_web_cleanup();