From 0389e2c891177db3c2e6dfbc0b9656dfddf90892 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 18 Mar 2021 10:54:39 +0900 Subject: [PATCH] fix bug --- src/misc/cache.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/misc/cache.ts b/src/misc/cache.ts index 356a3de7b9..ccc5f01ff7 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; }