diff options
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 4812198167..4bcf25bad2 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -3295,6 +3295,13 @@ static void load_ramcache(void) | |||
3295 | 3295 | ||
3296 | cpu_boost(false); | 3296 | cpu_boost(false); |
3297 | } | 3297 | } |
3298 | |||
3299 | void tagcache_unload_ramcache(void) | ||
3300 | { | ||
3301 | stat.ramcache = false; | ||
3302 | /* Just to make sure there is no statefile present. */ | ||
3303 | remove(TAGCACHE_STATEFILE); | ||
3304 | } | ||
3298 | #endif | 3305 | #endif |
3299 | 3306 | ||
3300 | static bool check_all_headers(void) | 3307 | static bool check_all_headers(void) |