Do not start timers in QDeclarativePixmapStore teardown
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Sun, 29 Jan 2012 15:14:48 +0000 (17:14 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Feb 2012 16:27:12 +0000 (17:27 +0100)
commitfd39d7eeec32fb29541decc11115608f9b759c86
treebcead2bd2dd5e8a665dc81d84c2dd1624c00e86c
parent4ab22fd809a43a57bf401e68282b697d5e5fd008
Do not start timers in QDeclarativePixmapStore teardown

The store instance is a global static and so starting timers
during its destruction is unnecessary, and may cause crashes
if the QAbstractEventDispatcher's statics are already destroyed.
This happens on OS X at least.

Change-Id: I785515c8973b291a7bfc6c5dabe2c19e8393c7ad
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/util/qdeclarativepixmapcache.cpp