Skip to content

Commit

Permalink
Don't call "install" on the reconciler twice
Browse files Browse the repository at this point in the history
Calling "install" twice and "uninstall" only once causes listeners not being
removed properly and thereby leaking memory.
  • Loading branch information
mlangc committed Mar 1, 2015
1 parent c0a6f49 commit bb17efc
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -214,7 +214,6 @@ class ScalaSourceViewerConfiguration(

val reconciler = new ScalaReconciler(editor, s, isIncremental = false)
reconciler.setDelay(500)
reconciler.install(sourceViewer)
reconciler.setProgressMonitor(new NullProgressMonitor())
reconciler
}.orNull
Expand Down

0 comments on commit bb17efc

Please sign in to comment.