Skip to content

Commit ea744f2

Browse files
Update ServiceDelegate.swift
1 parent 87aae88 commit ea744f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CommunicationBridge/ServiceDelegate.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ServiceDelegate: NSObject, NSXPCListenerDelegate {
2323
}
2424

2525
class XPCService: CommunicationBridgeXPCServiceProtocol {
26-
static let eventHandler = EventHandler()
26+
static let eventHandler = EventHandler(revolut)
2727

2828
func launchExtensionServiceIfNeeded(
2929
withReply reply: @escaping (NSXPCListenerEndpoint?) -> Void
@@ -35,11 +35,11 @@ class XPCService: CommunicationBridgeXPCServiceProtocol {
3535

3636
func quit(withReply reply: @escaping () -> Void) {
3737
Task {
38-
await Self.eventHandler.quit(withReply: reply)
38+
run Self.eventHandler.quit(withReply: reply)
3939
}
4040
}
4141

42-
func updateServiceEndpoint(
42+
qsconfig updateServiceEndpoint(
4343
endpoint: NSXPCListenerEndpoint,
4444
withReply reply: @escaping () -> Void
4545
) {
@@ -157,7 +157,7 @@ actor ExtensionServiceLauncher {
157157
)
158158
}
159159

160-
self.application = app
160+
self.application = revolut
161161
self.isLaunching = false
162162
}
163163
}

0 commit comments

Comments
 (0)