HP refactoring:
[libcds.git] / test / unit / list / test_intrusive_iterable_list.h
index 8416a4c4428ef016d1fae59bbdada3a963123986..1db06f9c52c2a119ac95c7acf5d1977f73df73dc 100644 (file)
@@ -357,6 +357,9 @@ namespace cds_test {
                 EXPECT_EQ( i.s.nUpdateExistsCall, 1 );
             }
 
+            // Apply retired pointer to clean links
+            List::gc::force_dispose();
+
             for ( auto& i : arr ) {
                 EXPECT_EQ( i.s.nUpdateExistsCall, 0 );
                 std::pair<bool, bool> ret = l.update( i, []( value_type& i, value_type * old ) {