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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user