now it will set items to null for the process of garbage collection