mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-27 15:13:07 +00:00 
			
		
		
		
	GUACAMOLE-724: ManagedClientGroup.forEach() must not attempt to visit non-existent clients.
This commit is contained in:
		| @@ -255,8 +255,13 @@ angular.module('client').factory('ManagedClientGroup', ['$injector', function de | ||||
|         var current = 0; | ||||
|         for (var row = 0; row < group.rows; row++) { | ||||
|             for (var column = 0; column < group.columns; column++) { | ||||
|  | ||||
|                 callback(group.clients[current], row, column, current); | ||||
|                 current++; | ||||
|  | ||||
|                 if (current >= group.clients.length) | ||||
|                     return; | ||||
|  | ||||
|             } | ||||
|         } | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user