Be sure to clear the original cache when calling resetCache().
XXX I've got no idea what this is actually supposed to do. It may be that clearing the old cache isn't safe, but only if it never was. If a non-ghost object is in the cache, it seems that attempts to use it will go through the wrong cache.
Showing
Please register or sign in to comment