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:
parent
ecdb5ec668
commit
38d2fc985c
@ -909,6 +909,7 @@ IORequest::NotifyFinished()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ASSERT(!fIsNotified);
|
||||||
ASSERT(fPendingChildren == 0);
|
ASSERT(fPendingChildren == 0);
|
||||||
ASSERT(fChildren.IsEmpty()
|
ASSERT(fChildren.IsEmpty()
|
||||||
|| dynamic_cast<IOOperation*>(fChildren.Head()) == NULL);
|
|| dynamic_cast<IOOperation*>(fChildren.Head()) == NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user