mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #738 from sharelatex/as-fix-memory-leak
Fix memory leak setting up spell check
This commit is contained in:
@@ -468,6 +468,7 @@ define [
|
||||
editor.focus()
|
||||
|
||||
detachFromAce = (sharejs_doc) ->
|
||||
tearDownSpellCheck()
|
||||
sharejs_doc.detachFromAce()
|
||||
sharejs_doc.off "remoteop.recordRemote"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user