[SW] Bug 940273 Fix crash in Cache and CacheChild destruction.