Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #107 from matthewvogt/mer-1267
Browse files Browse the repository at this point in the history
[libcontacts] Do not start timers during application close. Contributes to MER#1267
  • Loading branch information
matthewvogt committed Aug 26, 2015
2 parents de31d36 + 8d42ec7 commit e0e8f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seasidecache.cpp
Expand Up @@ -643,7 +643,7 @@ SeasideCache::~SeasideCache()

void SeasideCache::checkForExpiry()
{
if (instancePtr->m_users.isEmpty()) {
if (instancePtr->m_users.isEmpty() && !QCoreApplication::closingDown()) {
bool unused = true;
for (int i = 0; i < FilterTypesCount; ++i) {
unused &= instancePtr->m_models[i].isEmpty();
Expand Down

0 comments on commit e0e8f5a

Please sign in to comment.