app_server: added an ASSERT to Desktop::_Windows().

* So that something like #9595 should not happen again.
This commit is contained in:
Axel Dörfler
2013-05-12 21:05:05 +02:00
parent e431f22875
commit c895d331c9
+1
View File
@@ -2704,6 +2704,7 @@ Desktop::WindowForClientLooperPort(port_id port)
WindowList&
Desktop::_Windows(int32 index)
{
ASSERT(index >= 0 && index < kMaxWorkspaces);
return fWorkspaces[index].Windows();
}