Skip to content

Commit

Permalink
Remove redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AChep committed Mar 15, 2021
1 parent 862042e commit df3cff5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/src/main/java/com/artemchep/bindin/BindIn.kt
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ fun LifecycleOwner.bindBlock(
val observer = LifecycleEventObserver { source, _ ->
val isActive = source.lifecycle.currentState >= minimumLifecycleState
if (isActive) {
// Check if previous job has been completed (or canceled) and
// start a new one.
if (!wasActive) {
job?.cancel()
job = lifecycleScope.launch {
Expand Down

0 comments on commit df3cff5

Please sign in to comment.