fix(188): didn't call Stop when tsnet Server Listen failed (#226)

This commit is contained in:
Songlin Yang authored and GitHub committed 2026-04-04 06:58:15 +07:00
1 parent dcfd82c6e5
commit 5e680a7f25
1 file changed
-1
-1
View File
@@ -45,7 +45,6 @@ func initTailscale(ctx context.Context, cfg *config.Config, mux http.Handler) fu
}
if err != nil {
slog.Warn("Tailscale listener failed to start", "error", err)
srv.Close()
return nil
}