Quote:
Originally Posted by SZOKOZ
If the variable "i" is another handle, you need to manually close that too. Then close each arraylist manually.
E.g.
Code:
for (int i = 0; i < g_bulkNotLoadedClientsArray.Length; i++)
{
ArrayList tempArray = view_as<ArrayList>(g_bulkNotLoadedClientsArray.Get(i));
for (int j = 0; j < tempArray.Length; j++)
{
CloseHandle(tempArray.Get(j));
}
CloseHandle(tempArray);
}
|
Hey, yeah, that's what i've tried to do when I said I tried iterating over the bulk array, however, doing this for some reason generates even more ArrayCell leaks.