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

Commit

Permalink
Browse files Browse the repository at this point in the history
[libcontacts] Do not start timers during application close. Contribut…
…es to MER#1267
  • Loading branch information
matthewvogt committed Aug 26, 2015
1 parent 33220e2 commit 8d42ec7
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 8d42ec7

Please sign in to comment.