summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-04-12 11:16:30 +0200
committerGéry Debongnie <ged@odoo.com>2018-04-12 16:58:41 +0200
commit220ba0d32058886c053f726139d0ed2679fd2c5c (patch)
treebb042c20d582459f8fd554d7b9e1a05b5dc1ee6f /addons/web/static/src/js/views/basic/basic_controller.js
parent611c836a46331c5c4703fd6e1a80aeb8332506b2 (diff)
[FIX] web: prevent destroyed widget from calling start
Whenever a widget is destroyed, it should be as inactive as possible. Before this commit, it could happen that a widget was destroyed after the willstart method, but before the start method. In that case, bad things could happen. For example, the discuss client action tries to look up some information into the session, with the getSession method. This causes a crash whenever the widget is destroyed.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions