clear objtable_ entry when an object is deallocated (#57)

This commit is contained in:
Robert Nishihara 2016-05-14 05:54:00 -07:00 committed by Philipp Moritz
parent c9780eb3ef
commit 912001ad6a

View file

@ -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]);
}