mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
clear objtable_ entry when an object is deallocated (#57)
This commit is contained in:
parent
c9780eb3ef
commit
912001ad6a
1 changed files with 1 additions and 0 deletions
|
@ -593,6 +593,7 @@ void SchedulerService::deallocate_object(ObjRef canonical_objref) {
|
|||
ORCH_LOG(ORCH_REFCOUNT, "Attempting to deallocate canonical_objref " << canonical_objref << " from objstore " << objstoreid);
|
||||
objstores_[objstoreid].objstore_stub->DeallocateObject(&context, request, &reply);
|
||||
}
|
||||
objtable_[canonical_objref].clear();
|
||||
}
|
||||
decrement_ref_count(contained_objrefs_[canonical_objref]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue