FIX:fixed a crash caused by mobile devices when switching languages

Change-Id: I7f28bf6bd917b16a798eea9b661987205ab3e1c8
This commit is contained in:
tao wang 2022-09-28 10:41:56 +08:00 committed by Lane.Wei
parent cb569fdb55
commit 4e4472c5b6
2 changed files with 5 additions and 0 deletions

View file

@ -387,6 +387,7 @@ std::string RemovableDriveManager::get_removable_drive_from_path(const std::stri
void RemovableDriveManager::init(wxEvtHandler *callback_evt_handler)
{
//no need use assert
assert(! m_initialized);
assert(m_callback_evt_handler == nullptr);