app_server: added an ASSERT to Desktop::_Windows().
* So that something like #9595 should not happen again.
This commit is contained in:
@@ -2704,6 +2704,7 @@ Desktop::WindowForClientLooperPort(port_id port)
|
|||||||
WindowList&
|
WindowList&
|
||||||
Desktop::_Windows(int32 index)
|
Desktop::_Windows(int32 index)
|
||||||
{
|
{
|
||||||
|
ASSERT(index >= 0 && index < kMaxWorkspaces);
|
||||||
return fWorkspaces[index].Windows();
|
return fWorkspaces[index].Windows();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user