ui: datastore options: fix active-ops-tracking store leak
without this the store stayed active in the background and kept updating every 3s for every datastore the ui was opened. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6353e22c00
commit
3c8f240712
@ -66,12 +66,18 @@ Ext.define('PBS.Datastore.Options', {
|
||||
},
|
||||
|
||||
stopUpdates: function() {
|
||||
let view = this.getView();
|
||||
let me = this;
|
||||
let view = me.getView();
|
||||
|
||||
view.rstore.stopUpdate();
|
||||
me.activeOperationsRstore.stopUpdate();
|
||||
},
|
||||
startUpdates: function() {
|
||||
let view = this.getView();
|
||||
let me = this;
|
||||
let view = me.getView();
|
||||
|
||||
view.rstore.startUpdate();
|
||||
me.activeOperationsRstore.startUpdate();
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user