Fixed image cache initialisation
parent
e6f19e9b17
commit
c144af0879
|
@ -79,7 +79,7 @@ export class ImageCache {
|
|||
|
||||
public static async load(cacheName: string) : Promise<ImageCache> {
|
||||
const cache = new ImageCache(cacheName);
|
||||
|
||||
await cache.initialize();
|
||||
return cache;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue