From ea14e2bb096652fe3b0365177d84fe2b5469b43c Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 22 Apr 2024 13:05:03 +0200 Subject: [PATCH] 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 --- www/config/GCView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/config/GCView.js b/www/config/GCView.js index 852dca5d..de43bc25 100644 --- a/www/config/GCView.js +++ b/www/config/GCView.js @@ -111,7 +111,7 @@ Ext.define('PBS.config.GCJobView', { listeners: { activate: 'startStore', - destroy: 'stopStore', + beforedestroy: 'stopStore', deactivate: 'stopStore', itemdblclick: 'editGCJob', },