demo cache - set pointer to nullptr after delete