We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fbfb37e + 09f4db2 commit eb91612Copy full SHA for eb91612
scala/compiler-integration/src/org/jetbrains/plugins/scala/compiler/CompileServerLauncher.scala
@@ -77,10 +77,12 @@ object CompileServerLauncher {
77
}
78
79
80
- ScalaShutDownTracker.registerShutdownTask(() => {
81
- LOG.info("Shutdown event triggered, stopping server")
82
- stopServerAndWaitFor(Duration.Zero)
83
- })
+ executeOnPooledThread {
+ ScalaShutDownTracker.registerShutdownTask(() => {
+ LOG.info("Shutdown event triggered, stopping server")
+ stopServerAndWaitFor(Duration.Zero)
84
+ })
85
+ }
86
87
private def isUnitTestMode: Boolean =
88
ApplicationManager.getApplication.isUnitTestMode
0 commit comments