mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:25:28 -05:00
Merge pull request #738 from sharelatex/as-fix-memory-leak
Fix memory leak setting up spell check
This commit is contained in:
commit
0f7c0de05d
1 changed files with 1 additions and 0 deletions
|
@ -468,6 +468,7 @@ define [
|
|||
editor.focus()
|
||||
|
||||
detachFromAce = (sharejs_doc) ->
|
||||
tearDownSpellCheck()
|
||||
sharejs_doc.detachFromAce()
|
||||
sharejs_doc.off "remoteop.recordRemote"
|
||||
|
||||
|
|
Loading…
Reference in a new issue