mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-30 07:10:22 +00:00
clear env vars on item destroy
This commit is contained in:
parent
0c78f12d43
commit
4e2ab9b2b7
1 changed files with 1 additions and 0 deletions
|
@ -386,6 +386,7 @@ void bar_item_destroy(struct bar_item* bar_item) {
|
|||
}
|
||||
if (bar_item->group && bar_item->type == BAR_COMPONENT_GROUP) group_destroy(bar_item->group);
|
||||
else if (bar_item->group) group_remove_member(bar_item->group, bar_item);
|
||||
env_vars_destroy(&bar_item->signal_args.env_vars);
|
||||
free(bar_item);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue