diff options
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r-- | desktop/netsurf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 8fa02255f..698606da1 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -46,6 +46,7 @@ #include "desktop/gui.h" #include "desktop/options.h" #include "desktop/searchweb.h" +#include "desktop/js.h" #include "render/html.h" #include "render/textplain.h" #include "utils/log.h" @@ -229,6 +230,8 @@ nserror netsurf_init(int *pargc, options_commandline(pargc, *pargv); + js_initialise(); + return ret; } @@ -252,6 +255,8 @@ int netsurf_main_loop(void) void netsurf_exit(void) { + js_finalise(); + hlcache_stop(); LOG(("Closing GUI")); |