diff --git a/src/misc/cache.ts b/src/misc/cache.ts index 356a3de7b..ccc5f01ff 100644 --- a/src/misc/cache.ts +++ b/src/misc/cache.ts @@ -3,6 +3,7 @@ export class Cache { private lifetime: number; constructor(lifetime: Cache['lifetime']) { + this.cache = new Map(); this.lifetime = lifetime; }