From 81f953faea737c0d722116c4d93221782ade005e Mon Sep 17 00:00:00 2001 From: Zhiming Ma Date: Fri, 4 Aug 2023 16:59:31 +0800 Subject: [PATCH] fix(intellij): node process not closed. (#336) --- .../src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt index bf233792e..e7d0fc2d3 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt @@ -149,7 +149,7 @@ class Agent : ProcessAdapter() { fun close() { streamWriter.close() - process.destroyProcess() + process.killProcess() } private var requestId = 1