When deleting all subrequests the pending children count should probably be

reset as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32935 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2009-09-05 00:26:29 +00:00
parent 7c870e9af5
commit c24f6c7b06

View File

@ -736,6 +736,7 @@ IORequest::DeleteSubRequests()
{
while (IORequestChunk* chunk = fChildren.RemoveHead())
delete chunk;
fPendingChildren = 0;
}