Skip to content

Commit

Permalink
add comment to why settings#ensureLoaded is called
Browse files Browse the repository at this point in the history
  • Loading branch information
YePpHa committed Mar 24, 2018
1 parent 648f0ee commit 6774971
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/bootstrap.inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ const handlePlayerCreate = async (playerFactory: PlayerFactory, playerConfig: Pl
let elementId = playerConfig.attrs.id;
let playerId = uuidv4();

// Wait for any blockers e.g. loading of settings.
await servicePort.call("settings#ensureLoaded");

// Send a beforecreate event to the core.
Expand Down

0 comments on commit 6774971

Please sign in to comment.