diff --git a/source/vibe/core/core.d b/source/vibe/core/core.d index 6ff8abf..7ec570a 100644 --- a/source/vibe/core/core.d +++ b/source/vibe/core/core.d @@ -590,7 +590,7 @@ public void setupWorkerThreads(uint num = logicalProcessorCount()) synchronized (st_threadsMutex) { if (!st_workerPool) - st_workerPool = new shared TaskPool; + st_workerPool = new shared TaskPool(num); } }