summaryrefslogtreecommitdiff
path: root/content/hlcache.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-07 15:23:45 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-07 15:23:45 +0100
commitb03786920aa4aff2194d2e9c94e8301546897ae9 (patch)
tree0cf6276403ce6fd1b2fc32243aa2a6a09684bfe9 /content/hlcache.c
parent4065f1e0278d6d6d644bbf927b80125cf999a7bb (diff)
downloadnetsurf-b03786920aa4aff2194d2e9c94e8301546897ae9.tar.gz
netsurf-b03786920aa4aff2194d2e9c94e8301546897ae9.tar.bz2
hlcache_fini(): Deschedule cleanups on finalisation
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/hlcache.c')
-rw-r--r--content/hlcache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/hlcache.c b/content/hlcache.c
index aa782b2e1..ec011ecdc 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -660,6 +660,9 @@ void hlcache_finalise(void)
NSLOG(netsurf, INFO, "hit/miss %d/%d", hlcache->hit_count,
hlcache->miss_count);
+ /* De-schedule ourselves */
+ guit->misc->schedule(-1, hlcache_clean, NULL);
+
free(hlcache);
hlcache = NULL;