FIX: destory timers & check webview consist

Change-Id: If95a973e1b3c6bf0da3611c30e0e44e191c9b06a
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-08-26 09:25:59 +08:00
1 parent cd3a721f86
commit 7be639019e
8 files changed
+19 -10

No files matched your search

+2
View File
@@ -83,6 +83,8 @@ MarkdownTip::MarkdownTip()
_timer->Bind(wxEVT_TIMER, &MarkdownTip::OnTimer, this);
}
MarkdownTip::~MarkdownTip() { delete _timer; }
void MarkdownTip::LoadStyle()
{
_language = GUI::into_u8(GUI::wxGetApp().current_language_code());