From c1c363b81e29c03363ced043f83b2cb4a69f514e Mon Sep 17 00:00:00 2001 From: Igor Chevdar Date: Thu, 22 Mar 2018 14:26:30 +0300 Subject: [PATCH] Freezing: bug fix --- runtime/src/main/cpp/Memory.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/src/main/cpp/Memory.cpp b/runtime/src/main/cpp/Memory.cpp index bb91da27324..ca05e29cc88 100644 --- a/runtime/src/main/cpp/Memory.cpp +++ b/runtime/src/main/cpp/Memory.cpp @@ -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) {