public static LColorPool Get() { lock (typeof(LColorPool)) { if (colorPool == null) { colorPool = new LColorPool(); } } return(colorPool); }
public static void FreeStatic() { colorPool = null; }