Catrope has submitted this change and it was merged.

Change subject: Added destroy methods and called them on deactivate
......................................................................


Added destroy methods and called them on deactivate

This prevents memory waste when switching between read and visual editor tabs, 
which happens entirely on the client.

Change-Id: I31b50accac38d72a9367b9035504552dc0150104
---
M modules/ve/ce/ve.ce.Surface.js
M modules/ve/init/mw/targets/ve.init.mw.ViewPageTarget.js
M modules/ve/ui/ve.ui.Context.js
M modules/ve/ve.Surface.js
4 files changed, 34 insertions(+), 4 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified


--
To view, visit https://gerrit.wikimedia.org/r/36648
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I31b50accac38d72a9367b9035504552dc0150104
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Trevor Parscal <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to