mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
Do not add reference count when it is local mode. (#8979)
This commit is contained in:
parent
2651d2488d
commit
925e9acd66
1 changed files with 1 additions and 1 deletions
|
@ -1452,7 +1452,7 @@ Status CoreWorker::AllocateReturnObjects(
|
|||
RAY_LOG(DEBUG) << "Creating return object " << object_ids[i];
|
||||
// Mark this object as containing other object IDs. The ref counter will
|
||||
// keep the inner IDs in scope until the outer one is out of scope.
|
||||
if (!contained_object_ids[i].empty()) {
|
||||
if (!contained_object_ids[i].empty() && !options_.is_local_mode) {
|
||||
reference_counter_->AddNestedObjectIds(object_ids[i], contained_object_ids[i],
|
||||
owner_address);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue