1
0
Fork 0
forked from suyu/suyu

We only need to alert for memory pool changes

This commit is contained in:
David Marcec 2018-07-13 10:36:28 +10:00
parent 6642011706
commit 8bd8d1e3da

View file

@ -87,8 +87,6 @@ private:
memory_pool[i].state = MemoryPoolStates::Attached; memory_pool[i].state = MemoryPoolStates::Attached;
else if (mem_pool_info[i].pool_state == MemoryPoolStates::RequestDetach) else if (mem_pool_info[i].pool_state == MemoryPoolStates::RequestDetach)
memory_pool[i].state = MemoryPoolStates::Detached; memory_pool[i].state = MemoryPoolStates::Detached;
else
memory_pool[i].state = mem_pool_info[i].pool_state;
} }
std::memcpy(output.data() + sizeof(UpdateDataHeader), memory_pool.data(), std::memcpy(output.data() + sizeof(UpdateDataHeader), memory_pool.data(),
response_data.memory_pools_size); response_data.memory_pools_size);