FIX: destory timers & check webview consist

Change-Id: If95a973e1b3c6bf0da3611c30e0e44e191c9b06a
This commit is contained in:
chunmao.guo 2022-08-09 09:20:33 +08:00 committed by Lane.Wei
parent cd3a721f86
commit 7be639019e
8 changed files with 19 additions and 10 deletions

View file

@ -181,7 +181,7 @@ class SelectMachinePopup : public wxPopupTransientWindow
{
public:
SelectMachinePopup(wxWindow *parent);
~SelectMachinePopup() {}
~SelectMachinePopup();
// wxPopupTransientWindow virtual methods are all overridden to log them
virtual void Popup(wxWindow *focus = NULL) wxOVERRIDE;
@ -359,7 +359,7 @@ protected:
void reset_ams_material();
void update_show_status();
wxTimer *m_refresh_timer;
wxTimer *m_refresh_timer { nullptr };
std::shared_ptr<PrintJob> m_print_job;