From b03786920aa4aff2194d2e9c94e8301546897ae9 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Sep 2019 15:23:45 +0100 Subject: [PATCH] hlcache_fini(): Deschedule cleanups on finalisation Signed-off-by: Daniel Silverstone --- content/hlcache.c | 3 +++ 1 file changed, 3 insertions(+) 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;