DEV: pass widget back when cleaning up stream (#9422)

This commit is contained in:
Joffrey JAFFEUX 2020-04-14 18:45:40 +02:00 committed by GitHub
parent e3590d4ead
commit 6023ea1979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export default Component.extend({
willClearRender() {
const callbacks = _cleanCallbacks[this.widget];
if (callbacks) {
callbacks.forEach(cb => cb());
callbacks.forEach(cb => cb(this._tree));
}
this._connected.forEach(v => v.destroy());