Skip to content

Commit

Permalink
better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhee17 committed Nov 18, 2024
1 parent 4aa3c17 commit 53de68b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,9 @@ private void endRequest0(@Nullable Throwable requestCause, long requestEndTimeNa
}
updateFlags(flags);

// Check if REQUEST_CONTENT has been set by calling #requestContent() from a different thread
// The check here covers two cases:
// 1) #endRequest has completed all flags except name.
// 2) #requestContent has been called from a different thread, but names hasn't been set
if (hasInterestedFlags(deferredFlags, RequestLogProperty.REQUEST_CONTENT) &&
isAvailable(RequestLogProperty.REQUEST_CONTENT)) {
setNamesIfAbsent();
Expand Down

0 comments on commit 53de68b

Please sign in to comment.