Skip to content

Commit 08b91f6

Browse files
committed
[mono] XenAdmin: Page_HomeServer: Fix New VM Wizard crashes due to call loop
This fix disables the functionality that is a cause of the program stuck due to is a call loop. The negative impact isn't expected, since the disabled code looks like just selects some default value. This doesn't look important. Signed-off-by: Ilya Stolyarov <[email protected]>
1 parent c58803b commit 08b91f6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

XenAdmin/Wizards/NewVMWizard/Page_HomeServer.cs

+8-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,14 @@ protected override void PageLoadedCore(PageLoadedDirection direction)
101101

102102
public override void SelectDefaultControl()
103103
{
104-
affinityPicker1.Select();
104+
if (System.Type.GetType("Mono.Runtime") == null)
105+
{
106+
affinityPicker1.Select();
107+
}
108+
else
109+
{
110+
// TODO: Call loop under Mono
111+
}
105112
}
106113

107114
#endregion

0 commit comments

Comments
 (0)