else the stores never stop updating

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 www/manager6/node/ACME.js         | 1 +
 www/manager6/node/Certificates.js | 1 +
 2 files changed, 2 insertions(+)

diff --git a/www/manager6/node/ACME.js b/www/manager6/node/ACME.js
index d21d18e4..0418f406 100644
--- a/www/manager6/node/ACME.js
+++ b/www/manager6/node/ACME.js
@@ -731,5 +731,6 @@ Ext.define('PVE.node.ACME', {
        me.callParent();
        me.mon(me.rstore, 'load', 'updateStore', me);
        Proxmox.Utils.monStoreErrors(me, me.rstore);
+       me.on('destroy', me.rstore.stopUpdate, me.rstore);
     },
 });
diff --git a/www/manager6/node/Certificates.js 
b/www/manager6/node/Certificates.js
index df2fd7de..0c5dfc68 100644
--- a/www/manager6/node/Certificates.js
+++ b/www/manager6/node/Certificates.js
@@ -399,5 +399,6 @@ Ext.define('PVE.node.Certificates', {
 
        me.mon(me.rstore, 'load', me.set_button_status, me);
        me.rstore.startUpdate();
+       me.on('destroy', me.rstore.stopUpdate, me.rstore);
     }
 });
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to