summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bar/bar.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bar/bar.go b/bar/bar.go
index c77e2e9..55914e0 100644
--- a/bar/bar.go
+++ b/bar/bar.go
@@ -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)