IORequest::NotifyFinished(): Assert that the request hasn't been finished

before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36594 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-05-03 12:44:48 +00:00
parent ecdb5ec668
commit 38d2fc985c
1 changed files with 1 additions and 0 deletions

View File

@ -909,6 +909,7 @@ IORequest::NotifyFinished()
}
}
ASSERT(!fIsNotified);
ASSERT(fPendingChildren == 0);
ASSERT(fChildren.IsEmpty()
|| dynamic_cast<IOOperation*>(fChildren.Head()) == NULL);