예제 #1
0
 internal void Dispose(string url)
 {
     if (ConnDic[url] != null)
     {
         ConnDic[url].Dispose();
     }
     ConnDic.Remove(url);
     ActiveDBKeyList.Remove(url);
 }
예제 #2
0
 internal void Dispose(string url)
 {
     //잘못된 URL형식 걸러내기
     if (!(url.Contains("http://")) || (url.Replace("http://", string.Empty).Length == 0))
     {
         return;
     }
     if (ConnDic[url] != null)
     {
         ConnDic[url].Dispose();
         ConnDic.Remove(url);
     }
     ActiveDBKeyList.Remove(url);
 }