add missing cache dispose/clear to CacheService

This commit is contained in:
Hazelnoot 2025-09-27 19:56:39 -04:00
parent 3c3253f84a
commit 4b4efef5f9

View file

@ -573,6 +573,8 @@ export class CacheService implements OnApplicationShutdown {
this.userFollowingsCache.clear();
this.userFollowStatsCache.clear();
this.translationsCache.clear();
this.userFollowingChannelsCache.clear();
this.federatedInstanceCache.clear();
}
@bindThis
@ -598,6 +600,8 @@ export class CacheService implements OnApplicationShutdown {
this.userFollowingsCache.dispose();
this.userFollowersCache.dispose();
this.hibernatedUserCache.dispose();
this.userFollowStatsCache.dispose();
this.translationsCache.dispose();
}
@bindThis