mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 04:16:24 -05:00
We only need to alert for memory pool changes
This commit is contained in:
parent
6642011706
commit
8bd8d1e3da
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue