FIX: crash when async delete printer file

Change-Id: I92c5e812d04da263338fb0eea2fd7583cf9ecde0
Jira: STUDIO-5222
This commit is contained in:
chunmao.guo 2023-11-14 13:29:59 +08:00 committed by Lane.Wei
parent f4f4286eab
commit a888747755
1 changed files with 1 additions and 1 deletions

View File

@ -994,7 +994,7 @@ void PrinterFileSystem::FileRemoved(std::pair<FileType, std::string> type, size_
m_group_flags.erase(m_group_flags.begin() + index2);
}
}
m_file_list.erase(m_file_list.begin() + index);
m_file_list.erase(file_index.first.begin() + index);
}
struct CallbackEvent : wxCommandEvent