Closed AlexDayCRL closed 3 months ago
The msg_bytes capture for the lambda to clean up memory was captured by value which meant it couldn't actually discard the memory. Passing by reference allows the allocator to dealloc the memory.
The msg_bytes capture for the lambda to clean up memory was captured by value which meant it couldn't actually discard the memory. Passing by reference allows the allocator to dealloc the memory.