ui: datastore/Summary: change destroy listener

by using beforedestroy instead of destroy (like we do everywhere else)
to avoid race condition when the controller has
already removed some handlers on destruction

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak authored and Thomas Lamprecht committed 2021-05-26 19:18:40 +02:00
1 parent e9805b2486
commit f8735e5988
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ Ext.define('PBS.DataStoreInfo', {
listeners: {
activate: 'startStore',
destroy: 'stopStore',
beforedestroy: 'stopStore',
deactivate: 'stopStore',
},