-
Followers
Yang Zhang
AttachmentsNo attachmentsAssociationsNo associationsActivity
on Apr 11, 2012 @ 05:51pm UTC * By dan.oxlade
I noticed a (perhaps) similar hang with scalate, which lead me here.
I tracked it down to the PresentationCompilerThread started by ScalaCompiler.compiler in TemplateEngine.
I don't know why these hangs don't seem to affect the test suite but the way I've fixed them is by invoking askShutdown on scala.tools.nsc.interactive.Global (the type of ScalaCompiler.compiler) in a lifecycle method. In my case Servlet.destroyTime ExpenditureLoading
But when I run 'run index.jade' from the scalate REPL, it spits out the rendered template.
Also, may or may not be related, but 'exit' (or ^D) sometimes hangs as well.