Fixed image cache initialisation
This commit is contained in:
parent
e6f19e9b17
commit
3104dff238
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ export class ImageCache {
|
||||||
|
|
||||||
public static async load(cacheName: string) : Promise<ImageCache> {
|
public static async load(cacheName: string) : Promise<ImageCache> {
|
||||||
const cache = new ImageCache(cacheName);
|
const cache = new ImageCache(cacheName);
|
||||||
|
await cache.initialize();
|
||||||
return cache;
|
return cache;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue