mirror of
https://github.com/cyanfish/naps2.git
synced 2024-10-04 19:37:15 +03:00
Fix unused worker process on linux
This commit is contained in:
parent
f665d0a3da
commit
35998f07c0
@ -102,6 +102,10 @@ namespace NAPS2.Worker
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
if (!PlatformCompat.Runtime.UseWorker)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (_workerQueue == null)
|
||||
{
|
||||
_workerQueue = new BlockingCollection<WorkerContext>();
|
||||
|
Loading…
Reference in New Issue
Block a user