Merge pull request #738 from sharelatex/as-fix-memory-leak

Fix memory leak setting up spell check
This commit is contained in:
Timothée Alby 2018-07-11 10:21:26 +02:00 committed by GitHub
commit 0f7c0de05d

View file

@ -468,6 +468,7 @@ define [
editor.focus()
detachFromAce = (sharejs_doc) ->
tearDownSpellCheck()
sharejs_doc.detachFromAce()
sharejs_doc.off "remoteop.recordRemote"