mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 21:59:49 +02:00
don't capture strong pointer to stat tracker
This commit is contained in:
parent
c671817fa3
commit
a04fc41e17
1 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,9 @@ void AssetResourceRequest::requestMappingForPath(const AssetPath& path) {
|
|||
_assetMappingRequest = assetClient->createGetMappingRequest(path);
|
||||
|
||||
// make sure we'll hear about the result of the get mapping request
|
||||
connect(_assetMappingRequest, &GetMappingRequest::finished, this, [this, path, statTracker](GetMappingRequest* request){
|
||||
connect(_assetMappingRequest, &GetMappingRequest::finished, this, [this, path](GetMappingRequest* request){
|
||||
auto statTracker = DependencyManager::get<StatTracker>();
|
||||
|
||||
Q_ASSERT(_state == InProgress);
|
||||
Q_ASSERT(request == _assetMappingRequest);
|
||||
|
||||
|
|
Loading…
Reference in a new issue