XOP-461: Trying to fix the Invalid Operation Exception raised in license dialog (most probably a threading issue)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2013-11-05 16:21:10 +00:00
parent 0bac4b8196
commit c09c2fb044

View File

@ -245,7 +245,7 @@ namespace XenAdmin.Controls.CheckableDataGridView
private void ToggleDisableIfNotLastStanding(int checkedRowIndex)
{
foreach (CheckableDataGridViewRow otherRow in storedRows)
foreach (CheckableDataGridViewRow otherRow in storedRows.ToList())
{
if(otherRow.LockDisabledState)
continue;