Freezing: bug fix
This commit is contained in:
@@ -1420,7 +1420,6 @@ bool ClearSubgraphReferences(ObjHeader* root, bool checked) {
|
|||||||
* When we see GREY during DFS, it means we see cycle.
|
* When we see GREY during DFS, it means we see cycle.
|
||||||
*/
|
*/
|
||||||
void depthFirstTraversal(ContainerHeader* container, bool* hasCycles) {
|
void depthFirstTraversal(ContainerHeader* container, bool* hasCycles) {
|
||||||
if (*hasCycles) return;
|
|
||||||
// Mark GRAY.
|
// Mark GRAY.
|
||||||
container->setSeen();
|
container->setSeen();
|
||||||
traverseContainerObjectFields(container, [&hasCycles](ObjHeader** location) {
|
traverseContainerObjectFields(container, [&hasCycles](ObjHeader** location) {
|
||||||
|
|||||||
Reference in New Issue
Block a user