Skip to content

Commit 8b71216

Browse files
committed
Merge branch 'hotfix/fix-unintentional-start-language-server'
2 parents ae8d75f + 8a89445 commit 8b71216

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tool/Sources/CodeiumService/CodeiumExtension.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ actor CodeiumServiceLifeKeeper {
189189
}
190190

191191
var isAlive: Bool {
192-
weakObjects.allSatisfy { $0.isAlive }
192+
if weakObjects.isEmpty { return false }
193+
return weakObjects.allSatisfy { $0.isAlive }
193194
}
194195
}
195196

0 commit comments

Comments
 (0)