mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
DEV: nullify cachedCookFunction to prevent retains (#14737)
This commit is contained in:
parent
79ad0860a2
commit
184ccf4490
@ -341,6 +341,8 @@ export default Component.extend(TextareaTextManipulation, {
|
|||||||
if (isTesting()) {
|
if (isTesting()) {
|
||||||
this.element.removeEventListener("paste", this.paste);
|
this.element.removeEventListener("paste", this.paste);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this._cachedCookFunction = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
@discourseComputed()
|
@discourseComputed()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user