Skip to content

Commit

Permalink
Set awaitingParentAttach to false on detach, even if not currently at…
Browse files Browse the repository at this point in the history
…tached (#673)
  • Loading branch information
EricKuck authored Jun 13, 2022
1 parent c2bc72c commit d32fc81
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1024,10 +1024,11 @@ void detach(@NonNull View view, boolean forceViewRefRemoval, boolean blockViewRe
}
} else {
attached = false;
awaitingParentAttach = false;
}
}

awaitingParentAttach = false;

if (removeViewRef) {
removeViewReference();
}
Expand Down

0 comments on commit d32fc81

Please sign in to comment.