mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #438, allow to cancel parser
* added flag for parsing success * unload driver cancels parsing * assert for invoke * using waitForFinished
This commit is contained in:
@@ -51,7 +51,7 @@ namespace BlackMisc
|
||||
void CAircraftMatcher::setModelMappingProvider(std::unique_ptr<IModelMappingsProvider> mappings)
|
||||
{
|
||||
m_mappingsProvider = std::move(mappings);
|
||||
if (m_matchingMode.testFlag(ModelMapping)) initMappings();
|
||||
if (m_matchingMode.testFlag(ModelMapping)) { initMappings(); }
|
||||
}
|
||||
|
||||
void CAircraftMatcher::setMatchingModes(MatchingMode matchingModes)
|
||||
@@ -157,9 +157,9 @@ namespace BlackMisc
|
||||
// finish
|
||||
CLogMessage(this).info("Mapping system: %1 definitions for %2 installed models") << m_modelMappings.size()
|
||||
<< m_installedModels.size();
|
||||
emit initializationFinished();
|
||||
m_initInProgress = false;
|
||||
m_initialized = true;
|
||||
emit initializationFinished();
|
||||
}
|
||||
|
||||
void CAircraftMatcher::initMappings()
|
||||
|
||||
Reference in New Issue
Block a user