mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CP-9365: XenCenter work for HVM linux support
-Unsubscribing from guest_metrics changed event in UnregisterEventListeners()
This commit is contained in:
parent
c928fd71ec
commit
6d652ac135
@ -253,6 +253,9 @@ namespace XenAdmin.ConsoleView
|
||||
source.PropertyChanged -= new PropertyChangedEventHandler(Server_PropertyChanged);
|
||||
source.Connection.Cache.DeregisterCollectionChanged<VM>(VM_CollectionChangedWithInvoke);
|
||||
|
||||
if (this.guestMetrics != null)
|
||||
this.guestMetrics.PropertyChanged -= guestMetrics_PropertyChanged;
|
||||
|
||||
if (source.is_control_domain)
|
||||
{
|
||||
Host host = source.Connection.Resolve<Host>(source.resident_on);
|
||||
|
Loading…
Reference in New Issue
Block a user