예제 #1
0
        public BsnesImportStreamProcessor(bool poolAllocations = true)
        {
            if (!poolAllocations)
            {
                return;
            }

            poolCompressedWorkItems = new ObjPool <CompressedWorkItem>();
            poolWorkItems           = new ObjPool <WorkItem>();
        }
 private void InitObjectPool()
 {
     modificationDataPool = new ObjPool <ModificationData>();
 }
예제 #3
0
 public void Shutdown()
 {
     poolWorkItems           = null;
     poolCompressedWorkItems = null;
     CancelToken             = null;
 }