Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Commit

Permalink
Closes #1520: Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dnarcese authored and liuche committed Nov 21, 2018
1 parent 2c4f2aa commit cdfeed2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ open class PocketVideoRepo(

@UiThread // update backgroundUpdates.
fun startBackgroundUpdates() {
backgroundUpdates?.cancel()
backgroundUpdates?.cancel() // Cancelling unexpectedly active Pocket update job to ensure only one is running
backgroundUpdates = startBackgroundUpdatesInner()
}

Expand Down

0 comments on commit cdfeed2

Please sign in to comment.