Exemplo n.º 1
0
 /// <summary>
 /// Cleans up the pool.
 /// </summary>
 public static void CleanUp()
 {
     if (s_instance != null)
     {
         s_instance = null;
         // TODO: not sure if it's good work to do
         GC.Collect();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Cleans up the pool.
 /// </summary>
 public static void CleanUp()
 {
     if (s_instance != null)
     {
         s_instance = null;
         // TODO: not sure if it's good work to do
         GC.Collect();
     }
 }
Exemplo n.º 3
0
 /// <summary>
 ///     Cleans up the pool.
 /// </summary>
 public static void CleanUp()
 {
     _instance = null;
 }