mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-15 19:40:09 +00:00
use PooledDelegate to avoid convert Action to Action<AsyncOperation> allocation
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Cysharp.Threading.Tasks
|
||||
|
||||
#if NETCOREAPP3_1
|
||||
|
||||
public sealed class ThreadPoolWorkItem : IThreadPoolWorkItem
|
||||
sealed class ThreadPoolWorkItem : IThreadPoolWorkItem
|
||||
{
|
||||
static readonly ConcurrentQueue<ThreadPoolWorkItem> pool = new ConcurrentQueue<ThreadPoolWorkItem>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user