Skip to content

Commit

Permalink
Don't defer merging loaded entities into the history graph
Browse files Browse the repository at this point in the history
(closes #4276)
  • Loading branch information
bhousel committed Nov 9, 2017
1 parent d536376 commit bd639f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export function coreContext() {


/* Connection */
var entitiesLoaded = utilCallWhenIdle(function entitiesLoaded(err, result) {
function entitiesLoaded(err, result) {
if (!err) history.merge(result.data, result.extent);
});
}

context.preauth = function(options) {
if (connection) {
Expand Down

0 comments on commit bd639f2

Please sign in to comment.