Skip to content

Commit 3384471

Browse files
committed
fixup
1 parent 9f27bd9 commit 3384471

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Coder Desktop/Coder Desktop/FileSync/FileSyncDaemon.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ class MutagenDaemon: FileSyncDaemon {
101101
if case .unavailable = state { return }
102102
state = .stopped
103103
guard FileManager.default.fileExists(atPath: mutagenDaemonSocket.path) else {
104+
// Already stopped
104105
return
105106
}
106107

@@ -111,10 +112,8 @@ class MutagenDaemon: FileSyncDaemon {
111112
callOptions: .init(timeLimit: .timeout(.milliseconds(500)))
112113
)
113114

114-
// Clean up gRPC connection
115115
try? await cleanupGRPC()
116116

117-
// Ensure the process is terminated
118117
mutagenProcess?.terminate()
119118
logger.info("Daemon stopped and gRPC connection closed")
120119
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy