Cleanup: explicitly ignore error when requesting shutdown

Explicitly ignore an error when requesting the Manager to shut down.
This was already ignored implicitly, but now it's explicit to make
linters happy.

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2025-03-20 13:45:10 +01:00
parent 44470b892b
commit 5a5742ce60

View File

@ -96,7 +96,7 @@ func (f *Flamenco) requestShutdown() {
defer func() {
// Recover the panic that happens when the channel is closed multiple times.
// Requesting a shutdown should be possible multiple times without panicing.
recover()
_ = recover()
}()
close(f.done)
}