If you create an instance of CSRedisClient and release it repeatedly, about 36 bytes will be leaked each time.
To resolve the problem, it is necessary to write the Dispose method in the following three places.
leak test tool
{
for (int index = 0; ; index++)
{
System.Threading.Thread.Sleep(1000);
client = new CSRedisClient(url);
client.Dispose();
client = null;
}
}
If you create an instance of CSRedisClient and release it repeatedly, about 36 bytes will be leaked each time. To resolve the problem, it is necessary to write the Dispose method in the following three places.
leak test tool
Additions