]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
Toolkit: set clearPropertiesOnDestroy to false by default
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 26 May 2021 08:58:31 +0000 (10:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 May 2021 11:37:36 +0000 (13:37 +0200)
commit322de5629f850bfcb1b02396daf8247a2b6e2f6e
treedfe4a7629dd0ed9008f6674568a48ac187dca5e6
parent518dd0b6d952f22de8ffde0e37307582dbe3a4ba
Toolkit: set clearPropertiesOnDestroy to false by default

instead of the upstream default of 'async'

we do this since it creates some problems with our callbacks which can
happen during component destruction. The upstream reasoning does not
really makes sense for us normally, since we do not keep any references
around for most things, and thus the garbage collector can claim it.

note that this is only for components, Ext.Base sets it to 'true' by
default and we do not change this since we normally do not extend
from non-components

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/Toolkit.js