Confirm fn_02497 (CAsyncWorkMgr::Initialize)

Batch #13095 by cremane: 1 byte-identical, 0 confirmed by peer review.

- fn_02497 CAsyncWorkMgr::Initialize: byte-identical (already on main)

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 05:08:16 +00:00
commit 68cabd0b7c

View file

@ -21,15 +21,15 @@
CAsyncWorkMgr* g_asyncWorkMgr;
// INLINED
CAsyncWorkMgr::CAsyncWorkMgr(std::uint32_t workers) : NAsyncWorkMgr(workers), m_ready(false), m_pools(nullptr) {
CAsyncWorkMgr::CAsyncWorkMgr(std::uint32_t workers) : NAsyncWorkMgr(workers), m_pools(nullptr) {
this->m_ready = false;
this->m_pools = new (std::nothrow) CAsyncWorkRecycleObjectPoolMgr;
if (this->m_pools) {
if (this->m_pools->Ready()) {
this->m_ready = true;
} else {
if (!this->m_pools->Ready()) {
delete this->m_pools;
this->m_pools = nullptr;
} else {
this->m_ready = true;
}
}
}