mirror of https://github.com/coder/coder.git
This commit is contained in:
parent
f9b262944d
commit
36cf7cf4d3
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue