mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CP-9365: XenCenter work for HVM linux support
-Fixing issue found by the reviewer: null reference exception when the VM restarts
This commit is contained in:
parent
6d652ac135
commit
c64485adfd
@ -483,6 +483,7 @@ namespace XenAdmin.ConsoleView
|
||||
this.guestMetrics.PropertyChanged -= guestMetrics_PropertyChanged;
|
||||
|
||||
this.guestMetrics = newGuestMetrics;
|
||||
if (this.guestMetrics != null)
|
||||
guestMetrics.PropertyChanged += guestMetrics_PropertyChanged;
|
||||
|
||||
EnableRDPIfCapable();
|
||||
|
Loading…
Reference in New Issue
Block a user