Skip to content

Commit

Permalink
properly abort if lookup is interrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
djahandarie committed Oct 13, 2024
1 parent b0837a3 commit bddbc0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/js/display/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,7 @@ export class Display extends EventDispatcher {
await this._contentManager.executeMediaRequests();
performance.mark('display:waitMedia:end');
performance.measure('display:waitMedia', 'display:waitMedia:start', 'display:waitMedia:end');
if (this._setContentToken !== token) { return; }
container.appendChild(entry);

if (focusEntry === i) {
Expand Down

0 comments on commit bddbc0f

Please sign in to comment.