Freezing: bug fix

This commit is contained in:
Igor Chevdar
2018-03-22 14:26:30 +03:00
parent 7a8220ea36
commit c1c363b81e
-1
View File
@@ -1420,7 +1420,6 @@ bool ClearSubgraphReferences(ObjHeader* root, bool checked) {
* When we see GREY during DFS, it means we see cycle.
*/
void depthFirstTraversal(ContainerHeader* container, bool* hasCycles) {
if (*hasCycles) return;
// Mark GRAY.
container->setSeen();
traverseContainerObjectFields(container, [&hasCycles](ObjHeader** location) {