mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-02-22 22:46:54 +08:00
After Close() sets r.closed, the daemon should make zero network calls. Move ReportLog(false) under the same closedM guard as ReportState() so the daemon skips both when closed. This also simplifies RunDaemon by using a single lock/unlock pair. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>