There is no need to worry. All you need to remember is not to access variables after there container has been deleted. Once you execute the 'delete' the memory is marked as reusable and can be overwritten at any time.
For performance reasons, memory is not cleared when you delete it, but simply overwritten when it is required by other objects.
Bookmarks