Skip to content

Commit 0e53a16

Browse files
authored
Missed q.lock.Unlock() will cause panic (#9706)
1 parent 7eaba6b commit 0e53a16

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/queue/queue_wrapped.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ func (q *delayedStarter) setInternal(atShutdown func(context.Context, func()), h
6262
queue, err := NewQueue(q.underlying, handle, q.cfg, exemplar)
6363
if err == nil {
6464
q.internal = queue
65-
q.lock.Unlock()
6665
break
6766
}
6867
if err.Error() != "resource temporarily unavailable" {

0 commit comments

Comments
 (0)