Commit 8d42ec78 authored by mvogt's avatar mvogt

[libcontacts] Do not start timers during application close. Contributes to MER#1267

parent 33220e23
...@@ -643,7 +643,7 @@ SeasideCache::~SeasideCache() ...@@ -643,7 +643,7 @@ SeasideCache::~SeasideCache()
void SeasideCache::checkForExpiry() void SeasideCache::checkForExpiry()
{ {
if (instancePtr->m_users.isEmpty()) { if (instancePtr->m_users.isEmpty() && !QCoreApplication::closingDown()) {
bool unused = true; bool unused = true;
for (int i = 0; i < FilterTypesCount; ++i) { for (int i = 0; i < FilterTypesCount; ++i) {
unused &= instancePtr->m_models[i].isEmpty(); unused &= instancePtr->m_models[i].isEmpty();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment