From 6d652ac13502c7d548adbc7ace50dbb99db5e472 Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Mon, 8 Sep 2014 12:04:57 +0100 Subject: [PATCH] CP-9365: XenCenter work for HVM linux support -Unsubscribing from guest_metrics changed event in UnregisterEventListeners() --- XenAdmin/ConsoleView/VNCTabView.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/XenAdmin/ConsoleView/VNCTabView.cs b/XenAdmin/ConsoleView/VNCTabView.cs index 027e9a8a2..8f016e801 100644 --- a/XenAdmin/ConsoleView/VNCTabView.cs +++ b/XenAdmin/ConsoleView/VNCTabView.cs @@ -253,6 +253,9 @@ namespace XenAdmin.ConsoleView source.PropertyChanged -= new PropertyChangedEventHandler(Server_PropertyChanged); source.Connection.Cache.DeregisterCollectionChanged(VM_CollectionChangedWithInvoke); + if (this.guestMetrics != null) + this.guestMetrics.PropertyChanged -= guestMetrics_PropertyChanged; + if (source.is_control_domain) { Host host = source.Connection.Resolve(source.resident_on);