debian-forge-composer/internal/cloudapi
Ondřej Budai ba236180fc cloudapi: prevent dangling manifest goroutines
When composer exits, it doesn't wait for the manifest generation goroutines
to finish. This is generally a bad practice so let's introduce a bit of
syncing and a new Shutdown method to prevent this.

This also prevents the manifest generation goroutine from creating weird
states when interrupted on a random line of code.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-04-06 08:51:01 +02:00
..
v2 cloudapi: prevent dangling manifest goroutines 2022-04-06 08:51:01 +02:00
server.go cloudapi: prevent dangling manifest goroutines 2022-04-06 08:51:01 +02:00