Skip to content

Commit

Permalink
[core][bugfix] fix print ref count for an erased iterator (ray-projec…
Browse files Browse the repository at this point in the history
  • Loading branch information
SongGuyang authored Nov 9, 2021
1 parent 39b3eb9 commit 6bb0659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ray/core_worker/reference_count.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ void ReferenceCounter::RemoveLocalReference(const ObjectID &object_id,
PRINT_REF_COUNT(it);
if (it->second.RefCount() == 0) {
DeleteReferenceInternal(it, deleted);
} else {
PRINT_REF_COUNT(it);
}
PRINT_REF_COUNT(it);
}

void ReferenceCounter::UpdateSubmittedTaskReferences(
Expand Down

0 comments on commit 6bb0659

Please sign in to comment.