1
0
forked from rosa/hakurei

internal/pkg: drop cached error on cancel

This avoids disabling the artifact when using the individual cancel method. Unfortunately this makes the method blocking.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-18 03:20:44 +09:00
parent 27b1aaae38
commit 9e752b588a
3 changed files with 27 additions and 6 deletions

View File

@@ -194,6 +194,9 @@ func serve(
}
case specialAbort:
if _err := conn.Close(); _err != nil {
log.Println(_err)
}
log.Println("aborting all pending cures")
cm.c.Abort()
}