cpp_redis
cpp_redis copied to clipboard
Fix memory corruption in case of pending callbacks on destruction of client object
When the client object is distroyed but the the callbacks are not yet completed, this causes a memory corruption as the callback counter variable is in nowhereland. So we have to wait until the callbacks have finished.