Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3384471

Browse files
committed
fixup
1 parent9f27bd9 commit3384471

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
guardFileManager.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?awaitcleanupGRPC()
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)

[8]ページ先頭

©2009-2025 Movatter.jp