internal void Free() { Config = null; if (isLoopObject) { objectIndexs.Clear(); } else if (forefatherCount != 0) { System.Array.Clear(forefather, 0, forefatherCount); forefatherCount = 0; } YieldPool.Default.PushNotNull(this); }
private void freeThread() { Config = null; #if AutoCSer if (isLoopObject) { objectIndexs.Clear(); } else #endif if (forefatherCount != 0) { System.Array.Clear(forefather, 0, forefatherCount); forefatherCount = 0; } }