author | wenzelm |
Mon, 13 Sep 2021 11:58:11 +0200 | |
changeset 74307 | de4b3abaf3ca |
parent 74306 | a117c076aa22 |
child 74308 | 7466b2a3905a |
--- a/src/Tools/VSCode/src/language_server.scala Mon Sep 13 11:52:32 2021 +0200 +++ b/src/Tools/VSCode/src/language_server.scala Mon Sep 13 11:58:11 2021 +0200 @@ -345,7 +345,7 @@ def exit(): Unit = { log("\n") - sys.exit(if (session_.value.isDefined) Process_Result.RC.failure else Process_Result.RC.ok) + sys.exit(if (session_.value.isEmpty) Process_Result.RC.ok else Process_Result.RC.failure) }