diff options
| author | hhvn <dev@hhvn.uk> | 2024-01-27 15:25:46 +0000 |
|---|---|---|
| committer | hhvn <dev@hhvn.uk> | 2024-01-27 15:25:46 +0000 |
| commit | 764d1c63768b1bef017bb6c8c31b3dc8540a37fb (patch) | |
| tree | ae916dc40eb44e314e97dc0f4063cdddf6c32209 /bar | |
| parent | 0064d3f30cb971cde1ec8214224497a158bc2649 (diff) | |
Close the redraw channel so the bars' goroutines will finish
Diffstat (limited to 'bar')
| -rw-r--r-- | bar/bar.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -167,6 +167,7 @@ func (b bar) draw(d drawinfo) { } func (b *bar) destroy(state *bspc.State) { + close(b.redraw) mon, _ := b.getmon(state) if (mon != nil) { mon.TopPadding(0) |