补充await

Signed-off-by: madixin <madixin@huawei.com>
This commit is contained in:
madixin 2024-05-18 09:45:42 +08:00
parent 7acce8276a
commit d354a52975
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export class ImageKnife {
*/ */
async initFileCache(context: Context, size: number, memory: number) { async initFileCache(context: Context, size: number, memory: number) {
this.fileCache = new FileCache(context, size, memory) this.fileCache = new FileCache(context, size, memory)
this.fileCache.initFileCache() await this.fileCache.initFileCache()
} }
/** /**