summaryrefslogtreecommitdiff
path: root/addons/base_import_module/tests/test_module/test.xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2019-02-18 16:23:35 +0000
committerXavierDo <xdo@odoo.com>2019-02-28 15:49:04 +0000
commita95756faac9233a4e831695c2a7cd4f22e4bfac2 (patch)
tree1f459cff6728b62fa7b57633aa6617abb49b69a4 /addons/base_import_module/tests/test_module/test.xml
parent6edd699ee95264028129d8dace48383252e120e8 (diff)
[FIX] bus: gc event at the end of a polling
When making a poll, an event is registered on each channel. Once a notification is sent on a channel, only the events of the notified channel are removed. A pointer to the event is kept in all other channel the user subscribes to until those channel are notified. Since a user usually has many mail.channels but only a few active ones, a new event and a bunch of pointers are created at each poll and never removed. This fix simply remove the pointers to the current event at the end of a poll. closes odoo/odoo#31215 Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
Diffstat (limited to 'addons/base_import_module/tests/test_module/test.xml')
0 files changed, 0 insertions, 0 deletions