MCPcopy Create free account
hub / github.com/KDE/kdevelop / finalCleanup

Function finalCleanup

kdevplatform/language/duchain/duchain.cpp:1717–1731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1715}
1716
1717static void finalCleanup()
1718{
1719 DUChainWriteLocker writeLock(DUChain::lock());
1720 qCDebug(LANGUAGE) << "doing final cleanup";
1721
1722 int cleaned = 0;
1723 while ((cleaned = globalItemRepositoryRegistry().finalCleanup())) {
1724 qCDebug(LANGUAGE) << "cleaned" << cleaned << "B";
1725 if (cleaned < 1000) {
1726 qCDebug(LANGUAGE) << "cleaned enough";
1727 break;
1728 }
1729 }
1730 qCDebug(LANGUAGE) << "final cleanup ready";
1731}
1732
1733void DUChain::shutdown()
1734{

Callers 1

shutdownMethod · 0.85

Calls 1

finalCleanupMethod · 0.45

Tested by

no test coverage detected