Skip to content

Commit

Permalink
Maxtries will work even when set to 0, this fixes issues #103, thanks
Browse files Browse the repository at this point in the history
Jense Franke
  • Loading branch information
Arthur Debert committed Sep 14, 2009
1 parent 4dbf1ed commit c7457ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/br/com/stimuli/loading/BulkLoader.as
Expand Up @@ -777,7 +777,7 @@ bulkLoader.start(3)

_getAllConnections().forEach(function(i : LoadingItem, ...rest) : void{

if(i.status == LoadingItem.STATUS_ERROR && i.numTries == i.maxTries){
if(i.status == LoadingItem.STATUS_ERROR && i.numTries >= i.maxTries){
_removeFromConnections(i);
}
});
Expand Down

0 comments on commit c7457ea

Please sign in to comment.