[FIX] qweb: properly remove t-ref reference

when the node is removed from the dom
This commit is contained in:
Géry Debongnie
2019-10-10 17:08:16 +02:00
committed by aab-odoo
parent 1337aa0107
commit 4a346d0615
5 changed files with 36 additions and 1 deletions
@@ -1536,6 +1536,9 @@ exports[`t-slot directive refs are properly bound in slots 1`] = `
create: (_, n) => {
context.__owl__.refs[ref11] = n.elm;
},
destroy: () => {
delete context.__owl__.refs[ref11];
},
};
c10.push({text: \`do something\`});
}"