/// <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(); } }
/// <summary> /// Cleans up the pool. /// </summary> public static void CleanUp() { _instance = null; }