[fix](crash) fix be crash because of int overflow (#41554) (#41568)

This commit is contained in:
camby
2024-10-09 14:20:55 +08:00
committed by GitHub
parent 9fe77b335c
commit 0185f8069f

View File

@ -155,7 +155,7 @@ private:
int core_id, std::vector<std::unique_ptr<PriorityTaskQueue>>& prio_task_queue_list);
std::shared_ptr<std::vector<std::unique_ptr<PriorityTaskQueue>>> _prio_task_queue_list;
std::atomic<int> _next_core = 0;
std::atomic<uint32_t> _next_core = 0;
std::atomic<bool> _closed;
};