mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-03 05:49:32 -05:00
2dc509f43d
Switching docs would set up event listeners on Ace without tearing down any old listeners, which could lead to a memory leak. This tears down old listeners when detaching from the "old" doc |
||
---|---|---|
.. | ||
aceEditor | ||
aceEditor.coffee | ||
toggleSwitch.coffee |