DEV: nullify cachedCookFunction to prevent retains (#14737)

This commit is contained in:
Joffrey JAFFEUX 2021-10-27 16:29:36 +02:00 committed by GitHub
parent 79ad0860a2
commit 184ccf4490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -341,6 +341,8 @@ export default Component.extend(TextareaTextManipulation, {
if (isTesting()) {
this.element.removeEventListener("paste", this.paste);
}
this._cachedCookFunction = null;
},
@discourseComputed()