Skip to content

Commit

Permalink
Too much false positives (ampproject#4489)
Browse files Browse the repository at this point in the history
  • Loading branch information
aghassemi authored and erwinmombay committed Aug 15, 2016
1 parent eec9d25 commit c06e706
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/service/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,10 +619,6 @@ export class Resource {
*/
pause() {
if (this.state_ == ResourceState.NOT_BUILT || this.paused_) {
if (this.paused_) {
dev().error(TAG, 'pause() called on an already paused resource:',
this.debugid);
}
return;
}
this.paused_ = true;
Expand Down

0 comments on commit c06e706

Please sign in to comment.