diff options
Diffstat (limited to 'ext/js/display/display-content-manager.js')
-rw-r--r-- | ext/js/display/display-content-manager.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/display/display-content-manager.js b/ext/js/display/display-content-manager.js index 81742279..c61c3aca 100644 --- a/ext/js/display/display-content-manager.js +++ b/ext/js/display/display-content-manager.js @@ -49,7 +49,7 @@ export class DisplayContentManager { * @param {import('display-content-manager').OnUnloadCallback} onUnload The callback that is executed when the media should be unloaded. */ loadMedia(path, dictionary, onLoad, onUnload) { - this._loadMedia(path, dictionary, onLoad, onUnload); + void this._loadMedia(path, dictionary, onLoad, onUnload); } /** @@ -65,7 +65,7 @@ export class DisplayContentManager { for (const map of this._mediaCache.values()) { for (const result of map.values()) { - this._revokeUrl(result); + void this._revokeUrl(result); } } this._mediaCache.clear(); |