mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
DEV: nullify cachedCookFunction to prevent retains (#14737)
This commit is contained in:
@ -341,6 +341,8 @@ export default Component.extend(TextareaTextManipulation, {
|
||||
if (isTesting()) {
|
||||
this.element.removeEventListener("paste", this.paste);
|
||||
}
|
||||
|
||||
this._cachedCookFunction = null;
|
||||
},
|
||||
|
||||
@discourseComputed()
|
||||
|
Reference in New Issue
Block a user