summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index 2b6be861a..4fa7134c0 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -253,12 +253,13 @@ int netsurf_main_loop(void)
void netsurf_exit(void)
{
- js_finalise();
-
hlcache_stop();
LOG(("Closing GUI"));
gui_quit();
+
+ LOG(("Finalising JavaScript"));
+ js_finalise();
LOG(("Closing search and related resources"));
search_web_cleanup();