diff --git a/Source/IGListAdapter.m b/Source/IGListAdapter.m index 7582c699..a95c3d96 100644 --- a/Source/IGListAdapter.m +++ b/Source/IGListAdapter.m @@ -621,13 +621,13 @@ } [sectionControllers addObject:sectionController]; - -#if DEBUG - IGAssert([NSSet setWithArray:sectionControllers].count == sectionControllers.count, - @"Section controllers array is not filled with unique objects; section controllers are being reused"); -#endif [validObjects addObject:object]; } + +#if DEBUG + IGAssert([NSSet setWithArray:sectionControllers].count == sectionControllers.count, + @"Section controllers array is not filled with unique objects; section controllers are being reused"); +#endif // clear the view controller and collection context IGListSectionControllerPopThread();