예제 #1
0
        public override void Release(PooledClassObject obj)
        {
            T item = obj as T;

            obj.usingSeq = 0;
            base.pool.Add(item);
        }
예제 #2
0
        public override void Release(PooledClassObject obj)
        {
            T t = obj as T;

            obj.usingSeq = 0u;
            obj.holder   = null;
            this.pool.Add(t);
        }
예제 #3
0
 public abstract void Release(PooledClassObject obj);