Skip to content
Snippets Groups Projects
Commit d01c89d8 authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[FIX] web: ActionContainer: properly unbind handler


This isn't a problem in production, because the ActionContainer is
never destroyed, but it caused a small memory leak in the test
environment.

closes odoo/odoo#78621

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent d86cc5c0
Branches
Tags
No related merge requests found
......@@ -16,9 +16,9 @@ export class ActionContainer extends Component {
});
}
destroy() {
__destroy() {
this.env.bus.off("ACTION_MANAGER:UPDATE", this);
super.destroy();
super.__destroy();
}
}
ActionContainer.components = { ActionDialog };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment