summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp
diff options
context:
space:
mode:
authorOleh Vasyura <qt-info@nokia.com>2010-07-21 10:48:57 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-02 06:23:58 (GMT)
commit7f53610d7702a9453022429abbc537fd1a5d5cb1 (patch)
treec6bec9c8f566c17a8540cf0f6245ad9a33debcbb /doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp
parent2b1d027180fcea0e575c59818fc21541ff235f58 (diff)
downloadQt-7f53610d7702a9453022429abbc537fd1a5d5cb1.zip
Qt-7f53610d7702a9453022429abbc537fd1a5d5cb1.tar.gz
Qt-7f53610d7702a9453022429abbc537fd1a5d5cb1.tar.bz2
Fix crash caused by not clearing the QPixmapCache on application exit.
The qt_cleanup() function will call CCoeEnv::DestroyEnvironment() on application shutdown. This destruction will in turn tear down the various server sessions associated with the application. One of these sessions is the FBSERV session and if the QPixmapCache attempts to delete a CFbsBitmap after the session has been destroyed, the app will crash. The solution is call QPixmapCache::cleanup() before we destroy the environment. This is inline with what the other platforms do. Reviewed-by: Jason Barron (cherry picked from commit 55625badfab6bfe49c60ab5cd9a586c6bd511579)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp')
0 files changed, 0 insertions, 0 deletions