mirror of
https://github.com/wassname/ray.git
synced 2026-10-13 13:11:25 +08:00
Do not add reference count when it is local mode. (#8979)
This commit is contained in:
1 parent
2651d2488d
commit
925e9acd66
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user