(s3Part)
| 683 | var self = this; |
| 684 | |
| 685 | function cleanUpAfterPart(s3Part) { |
| 686 | removeAtIndex(self.partsToUpload, s3Part.partNumber); |
| 687 | removeAtIndex(self.partsInProcess, s3Part.partNumber); |
| 688 | |
| 689 | if (self.partsToUpload.length) { self.evaporatingCnt(-1); } |
| 690 | } |
| 691 | |
| 692 | function resolve(s3Part) { return function () { |
| 693 | cleanUpAfterPart(s3Part); |
no test coverage detected