mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
50b7a9fc93
Follows-up Ic0c6d190c9b78 which introduced a full linmod copy in a scope that is also accessible by other closures (namely the callbacks to jQuery.Deferred #done and #always, and setTimeout). Though in theory engines may be able to garbage collect it, I doubt it. Though browsers probably destruct the setTimeout callback I know at least the closures pass to jQuery.Deferred are not released by jQuery, so an engine would have to understand these other functions well enough to know it doesn't access the `data` variable. Let's release explicitly to be safe. Change-Id: I11000edcad4690dcce53b6e9d1a45bf2ab82fbcb |
||
---|---|---|
.. | ||
ve.init.mw.ViewPageTarget.init.js | ||
ve.init.mw.ViewPageTarget.js |