More tests for BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@286 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -360,7 +360,10 @@ int32 BLooper::CountHandlers() const
|
||||
//------------------------------------------------------------------------------
|
||||
BHandler* BLooper::HandlerAt(int32 index) const
|
||||
{
|
||||
AssertLocked();
|
||||
if (!IsLocked())
|
||||
{
|
||||
debugger("Looper must be locked before calling HandlerAt.");
|
||||
}
|
||||
|
||||
return (BHandler*)fHandlers.ItemAt(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user