SWDEV-425640 - An instantiated graphExec should retain a copy of every reference in the source graph
Change-Id: Idf6b224449ca642af2860b33dc739f51a6248e4c
Этот коммит содержится в:
коммит произвёл
Sourabh Betigeri
родитель
15a058cb60
Коммит
3fdd46ae59
@@ -285,6 +285,10 @@ Graph* Graph::clone(std::unordered_map<Node, Node>& clonedNodes) const {
|
||||
}
|
||||
clonedNodes[node]->SetDependencies(clonedDependencies);
|
||||
}
|
||||
for (auto userObj : graphUserObj_) {
|
||||
userObj->retain();
|
||||
newGraph->graphUserObj_.insert(userObj);
|
||||
}
|
||||
return newGraph;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user