Exemplo n.º 1
0
 public void DisposeClient(ref RedisClient Client)
 {
     if (_prcm != null)
     {
         _prcm.DisposeClient(Client);   //销毁客户端
     }
 }
 protected void ReleaseClient()
 {
     if (ownsClient && myClient != null)
     {
         clientManager.DisposeClient((RedisNativeClient)myClient);
     }
     myClient   = null;
     ownsClient = false;
 }
Exemplo n.º 3
0
 internal static void DisposeClient(RedisClient client)
 {
     _redis.DisposeClient(client);
 }