mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-27 02:56:01 +01:00
CA-250234 - XenCenter hit with NullReferenceException at HAPage
More robust check for null connection Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
This commit is contained in:
parent
63cd499cbd
commit
adde3dc044
@ -198,7 +198,7 @@ namespace XenAdmin.TabPages
|
||||
else
|
||||
{
|
||||
//CA-250234 no need to rebuild HA page if we lost connection to the pool
|
||||
if (pool.Connection == null)
|
||||
if (pool.Connection == null || pool.Connection.Session == null || !pool.Connection.IsConnected)
|
||||
return;
|
||||
|
||||
// Generate the tab contents depending on what XenObject we're displaying
|
||||
|
Loading…
Reference in New Issue
Block a user