Set loading to false when job is aborted

This commit is contained in:
Philip Giuliani 2015-03-03 09:29:31 +01:00
parent 55ea2c3b51
commit 6bf3b8d7d4

View File

@ -883,6 +883,9 @@ function loadTile( tiledImage, tile, time ) {
crossOriginPolicy: tiledImage.crossOriginPolicy,
callback: function( image ){
onTileLoad( tiledImage, tile, time, image );
},
abort: function() {
tile.loading = false;
}
});
}