Skip to content

Commit

Permalink
fix #209; also remove rudement code
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Jan 13, 2025
1 parent 3c8606a commit 8b63cb8
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ class LSPProcessHolder(val project: Project) : Disposable {
"SMCLSPLoggerScheduler", 1
)
private var loggerTask: Future<*>? = null
private val schedulerCaps = AppExecutorUtil.createBoundedScheduledExecutorService(
"SMCLSPCapsRequesterScheduler", 1
)
private val messageBus: MessageBus = ApplicationManager.getApplication().messageBus
private var isWorking_ = false
private val healthCheckerScheduler = AppExecutorUtil.createBoundedScheduledExecutorService(
Expand Down Expand Up @@ -298,9 +295,8 @@ class LSPProcessHolder(val project: Project) : Disposable {

override fun dispose() {
terminate()
loggerScheduler.shutdown()
schedulerCaps.shutdown()
healthCheckerScheduler.shutdown()
loggerScheduler.shutdown()
Runtime.getRuntime().removeShutdownHook(exitThread)
}

Expand Down

0 comments on commit 8b63cb8

Please sign in to comment.