Fix unused worker process on linux

This commit is contained in:
Ben Olden-Cooligan 2018-08-20 12:43:56 -04:00
parent f665d0a3da
commit 35998f07c0

View File

@ -102,6 +102,10 @@ namespace NAPS2.Worker
public static void Init()
{
if (!PlatformCompat.Runtime.UseWorker)
{
return;
}
if (_workerQueue == null)
{
_workerQueue = new BlockingCollection<WorkerContext>();