diff options
author | Oleh Vasyura <qt-info@nokia.com> | 2010-07-21 10:48:57 (GMT) |
---|---|---|
committer | Jason Barron <jason.barron@nokia.com> | 2010-07-26 12:21:14 (GMT) |
commit | 55625badfab6bfe49c60ab5cd9a586c6bd511579 (patch) | |
tree | a78bcb77579186bca3694f6bc40ae10a86043e41 /bin/createpackage.pl | |
parent | 42c6ab328e813fcb845524725d81739f2af17aa0 (diff) | |
download | Qt-55625badfab6bfe49c60ab5cd9a586c6bd511579.zip Qt-55625badfab6bfe49c60ab5cd9a586c6bd511579.tar.gz Qt-55625badfab6bfe49c60ab5cd9a586c6bd511579.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
Diffstat (limited to 'bin/createpackage.pl')
0 files changed, 0 insertions, 0 deletions