good morning!!!!

Skip to content
Snippets Groups Projects
Commit d4a28a13 authored by Zsolt Felföldi's avatar Zsolt Felföldi Committed by Felix Lange
Browse files

les: fix distReq.sentChn double close bug (#17639)

parent 86a03f97
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,9 @@ func (d *requestDistributor) loop() {
d.lock.Lock()
elem := d.reqQueue.Front()
for elem != nil {
close(elem.Value.(*distReq).sentChn)
req := elem.Value.(*distReq)
close(req.sentChn)
req.sentChn = nil
elem = elem.Next()
}
d.lock.Unlock()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment