summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorPierre Paridans <app@odoo.com>2019-03-27 13:50:22 +0000
committerPierre Paridans <app@odoo.com>2019-05-23 15:41:30 +0000
commit71a2d7c06a6142bfe3e967aa8ff60552e24eb0c1 (patch)
tree82ce8a7bc574c7bf8a443d702a42fa6f11568898 /addons/mail/static/src/xml
parente5c65b22ab6bf7caabd7b8923949d687b61a01a7 (diff)
[REF] web: don't destroy twice a widget's children
Widget class indirectly inherits from ParentedMixin (through PropertiesMixin). The Widget's children are destroyed in both the ParentedMixin and the Widget's own destroy() method. This commit prevents from trying to destroy already destroyed children and specifically from looping again on those children (resulting into a minor performance improvement). closes odoo/odoo#32174 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/mail/static/src/xml')
0 files changed, 0 insertions, 0 deletions