Commit a970484
committed
fix(bar): cooperatively chain __del__ to superclass finalizer
ProgressBarMixinBase.__del__ ran finish() but never chained to a super
__del__ (CodeQL 'missing call to superclass __del__', re-surfaced after
the ProgressBarBase base-class change). Add a hasattr-guarded
super().__del__() call: a no-op today (abc.ABC/object define no __del__)
but keeps finalization cooperative and avoids an AttributeError if a base
with __del__ is ever added.1 parent c5ead2f commit a970484
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
178 | 185 | | |
179 | 186 | | |
180 | 187 | | |
| |||
0 commit comments