FIX: check the null pointer

jira: [STUDIO-12264]
Change-Id: Icd0a64168576f45f91ac0d9090c838a17b86b1ae
(cherry picked from commit 3950ec7454ab236d88cb27681e065c510d71998d)
This commit is contained in:
xin.zhang 2025-06-17 09:20:24 +08:00 committed by Noisyfox
parent fd17dd6382
commit 7044bf0022

View file

@ -5681,6 +5681,7 @@ void MachineObject::update_slice_info(std::string project_id, std::string profil
if (!m_agent) return;
if (!slice_info) return;
if (!get_slice_info_thread) return;/*STUDIO-12264*/
if (get_slice_info_thread->interruption_requested()) { return;}
if (plate_idx >= 0) {