We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 638b6d5 commit 2dfe71dCopy full SHA for 2dfe71d
1 file changed
Core/Sources/Service/Service.swift
@@ -27,7 +27,7 @@ import ProService
27
public final class Service {
28
public static let shared = Service()
29
30
- @Dependency(\.workspacePool) var workspacePool
+ let workspacePool = WorkspacePool()
31
@MainActor
32
public let guiController = GraphicalUserInterfaceController()
33
public let realtimeSuggestionController = RealtimeSuggestionController()
@@ -44,7 +44,7 @@ public final class Service {
44
var cancellable = Set<AnyCancellable>()
45
46
private init() {
47
+ WorkspacePoolDependencyKey.liveValue = workspacePool
48
CommandHandlerDependencyKey.liveValue = PseudoCommandHandler()
49
50
BuiltinExtensionManager.shared.setupExtensions([
0 commit comments