Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bar: finalize drawer before recreating it
If the drawer previously existed, we need to .finalize() it, or we'll leak its resources. The comment about the stated reason for this is a little strange: we have width and height setters here, can we not just set them and not re-create the drawer at all? Thoughts welcome. This is another leak that I found while looking for the source of #4821. Signed-off-by: Tycho Andersen <tycho@tycho.pizza>
- Loading branch information