We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95b9928 commit 638b6d5Copy full SHA for 638b6d5
1 file changed
Core/Sources/Service/Service.swift
@@ -27,8 +27,7 @@ import ProService
27
public final class Service {
28
public static let shared = Service()
29
30
- @WorkspaceActor
31
- let workspacePool: WorkspacePool
+ @Dependency(\.workspacePool) var workspacePool
32
@MainActor
33
public let guiController = GraphicalUserInterfaceController()
34
public let realtimeSuggestionController = RealtimeSuggestionController()
@@ -65,7 +64,7 @@ public final class Service {
65
64
workspacePool.registerPlugin {
66
BuiltinExtensionWorkspacePlugin(workspace: $0)
67
}
68
- self.workspacePool = workspacePool
+
69
globalShortcutManager = .init(guiController: guiController)
70
keyBindingManager = .init(
71
workspacePool: workspacePool,
0 commit comments