|
|
Classification: |
C++ |
Category: |
Graphics |
Created: |
03/07/2000 |
Modified: |
12/11/2001 |
Number: |
FAQ-0474 |
Platform: |
ER5 |
|
Question: CFontCache::RemoveFirstEntry() doesn't decrease iNumEntries member
Answer: CFontCache::RemoveFirstEntry() is designed to be used only on cleanup. The nature of a cache is such that items should only
be added, with the least recently used ones returned for destruction by AddEntryL(). On destruction RemoveFirstEntry() be
called repeatedly with the returned items being destroyed until the cache is empty, at which point it may be destroyed as
well.
This has been fixed in future releases of Symbian OS.
|
|
|