mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fix memory leak in ProgressStatusBar
This commit is contained in:
parent
ca1c78b3fc
commit
cc5d74084c
2 changed files with 15 additions and 15 deletions
|
@ -25,9 +25,9 @@ namespace Slic3r {
|
|||
class ProgressStatusBar
|
||||
{
|
||||
wxStatusBar *self; // we cheat! It should be the base class but: perl!
|
||||
wxTimer *m_timer;
|
||||
wxGauge *m_prog;
|
||||
wxButton *m_cancelbutton;
|
||||
std::unique_ptr<wxTimer> m_timer;
|
||||
public:
|
||||
|
||||
/// Cancel callback function type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue