prefer public api
Vladimir Bauer
4 years ago
| 268 | 268 |
return err
|
| 269 | 269 |
}
|
| 270 | 270 |
if frame.shutdown {
|
| 271 | |
<-b.done // waiting for b.done, so it's safe to read b.bs
|
|
271 |
b.Wait() // waiting for b.done, so it's safe to read b.bs
|
| 272 | 272 |
var toDrop bool
|
| 273 | 273 |
if qb, ok := s.queueBars[b]; ok {
|
| 274 | 274 |
delete(s.queueBars, b)
|