Skip to content

Commit

Permalink
Resolve source reload error on style batch update. (mapbox#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
twelch authored and mourner committed Aug 2, 2016
1 parent e60b53b commit 6b24033
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/style/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ Style.prototype = util.inherit(Evented, {
}
var source = this.sources[id];
delete this.sources[id];
delete this._updates.sources[id];
source
.off('load', this._forwardSourceEvent)
.off('error', this._forwardSourceEvent)
Expand Down

0 comments on commit 6b24033

Please sign in to comment.