mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
Improve readability of ConnectToRemoteConsole
in XSVNCScreen
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
parent
23391e7293
commit
212543f4c0
@ -614,10 +614,8 @@ namespace XenAdmin.ConsoleView
|
||||
{
|
||||
if (_vncClient != null)
|
||||
ThreadPool.QueueUserWorkItem(Connect, new KeyValuePair<VNCGraphicsClient, Exception>(_vncClient, null));
|
||||
else
|
||||
{
|
||||
_rdpClient?.Connect(RdpIp);
|
||||
}
|
||||
else if (_rdpClient != null)
|
||||
_rdpClient.Connect(RdpIp);
|
||||
}
|
||||
|
||||
private void ConnectionSuccess(object sender, EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user