mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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 |