summaryrefslogtreecommitdiff
path: root/bar.go
diff options
context:
space:
mode:
Diffstat (limited to 'bar.go')
-rw-r--r--bar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar.go b/bar.go
index 6c3c981..b735944 100644
--- a/bar.go
+++ b/bar.go
@@ -195,7 +195,7 @@ func Destroy(state *bspc.State, id int) error {
func Cleanup(state *bspc.State) {
if state != nil {
for _, b := range bars {
- b.destroy(finalstate)
+ b.destroy(state)
}
}
}