add better profile logging properly resolve important dependencies
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
ce280c2d04
commit
a94a081b9c
11 changed files with 215 additions and 85 deletions
|
@ -403,6 +403,18 @@ void Component::updateCachedData()
|
|||
}
|
||||
}
|
||||
|
||||
void Component::waitLoadMeta() {
|
||||
|
||||
if (!m_loaded) {
|
||||
if (!m_metaVersion || !m_metaVersion->isLoaded()) {
|
||||
// wait for the loaded version from meta
|
||||
m_metaVersion = APPLICATION->metadataIndex()->getLoadedVersion(m_uid, m_version);
|
||||
}
|
||||
m_loaded = true;
|
||||
updateCachedData();
|
||||
}
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug d, const Component& comp) {
|
||||
d << "Component(" << comp.m_uid << " : " << comp.m_cachedVersion << ")";
|
||||
return d;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue