public BsnesImportStreamProcessor(bool poolAllocations = true) { if (!poolAllocations) { return; } poolCompressedWorkItems = new ObjPool <CompressedWorkItem>(); poolWorkItems = new ObjPool <WorkItem>(); }
private void InitObjectPool() { modificationDataPool = new ObjPool <ModificationData>(); }
public void Shutdown() { poolWorkItems = null; poolCompressedWorkItems = null; CancelToken = null; }