This commit is contained in:
McKayla Washburn 2024-04-01 19:49:08 +00:00
parent f9b262944d
commit 36cf7cf4d3
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ func (p *Server) client() (proto.DRPCProvisionerDaemonClient, bool) {
func (p *Server) acquireLoop() {
defer p.opts.Logger.Debug(p.closeContext, "acquire loop exited")
defer p.wg.Done()
defer func() { close(p.acquireDoneCh) }()
defer close(p.acquireDoneCh)
ctx := p.closeContext
for {
if p.acquireExit() {