ui: gc view: use beforedestroy for stopping the store

because during destroy, the controller (and the relevant function) might
not be there anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2024-04-22 13:05:03 +02:00 committed by Fabian Grünbichler
parent 0f1496d138
commit ea14e2bb09

View File

@ -111,7 +111,7 @@ Ext.define('PBS.config.GCJobView', {
listeners: {
activate: 'startStore',
destroy: 'stopStore',
beforedestroy: 'stopStore',
deactivate: 'stopStore',
itemdblclick: 'editGCJob',
},