fix: slow stop if run as service (#1870)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2025-02-07 22:26:09 +01:00
committed by GitHub
parent a20e1854d1
commit 1b2958a7cc
6 changed files with 60 additions and 59 deletions

View File

@@ -57,7 +57,7 @@ func main() {
exitCodeCh <- exitCode
// Wait for the service control manager to signal that we are done.
<-stopCh
<-serviceManagerFinishedCh
}
func run() int {