[COMPLIB] Removed, happened ASSERT during shutdown sequence. [mlnx: 2955]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 7 Sep 2008 15:08:57 +0000 (15:08 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 7 Sep 2008 15:08:57 +0000 (15:08 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1559 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/complib/cl_pool.c

index a4a88c9..9562da6 100644 (file)
@@ -180,7 +180,9 @@ cl_qcpool_destroy(
                 * if they haven't, then most likely they are still using memory\r
                 * that will be freed, and the destructor will not be called!\r
                 */\r
-               CL_ASSERT( cl_qcpool_count( p_pool ) == p_pool->num_objects );\r
+\r
+// Assert can happen in shutdown. Need to find a way to distinguish between the cases\r
+//             CL_ASSERT( cl_qcpool_count( p_pool ) == p_pool->num_objects );\r
 \r
                /* call the user's destructor for each object in the pool */\r
                if( p_pool->pfn_dtor )\r