Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f27bd9 commit 3384471Copy full SHA for 3384471
Coder Desktop/Coder Desktop/FileSync/FileSyncDaemon.swift
@@ -101,6 +101,7 @@ class MutagenDaemon: FileSyncDaemon {
101
if case .unavailable = state { return }
102
state = .stopped
103
guard FileManager.default.fileExists(atPath: mutagenDaemonSocket.path) else {
104
+ // Already stopped
105
return
106
}
107
@@ -111,10 +112,8 @@ class MutagenDaemon: FileSyncDaemon {
111
112
callOptions: .init(timeLimit: .timeout(.milliseconds(500)))
113
)
114
- // Clean up gRPC connection
115
try? await cleanupGRPC()
116
117
- // Ensure the process is terminated
118
mutagenProcess?.terminate()
119
logger.info("Daemon stopped and gRPC connection closed")
120
0 commit comments