| 214 | LanguageController::~LanguageController() = default; |
| 215 | |
| 216 | void LanguageController::initialize() |
| 217 | { |
| 218 | Q_D(LanguageController); |
| 219 | |
| 220 | d->languages = {}; |
| 221 | d->languageCache = {}; |
| 222 | d->mimeTypeCache = {}; |
| 223 | |
| 224 | d->backgroundParser->loadSettings(); |
| 225 | |
| 226 | delete d->staticAssistantsManager; |
| 227 | d->staticAssistantsManager = new StaticAssistantsManager(this); |
| 228 | |
| 229 | d->m_cleanedUp = false; |
| 230 | |
| 231 | // make sure the DUChain is setup before we try to access it from different threads at the same time |
| 232 | DUChain::self(); |
| 233 | } |
| 234 | |
| 235 | void LanguageController::cleanup() |
| 236 | { |
nothing calls this directly
no test coverage detected