aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Common/AsyncWorkQueue.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Common/AsyncWorkQueue.cs')
-rw-r--r--src/Ryujinx.Common/AsyncWorkQueue.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Ryujinx.Common/AsyncWorkQueue.cs b/src/Ryujinx.Common/AsyncWorkQueue.cs
index 80f8dcfe..746ef4ca 100644
--- a/src/Ryujinx.Common/AsyncWorkQueue.cs
+++ b/src/Ryujinx.Common/AsyncWorkQueue.cs
@@ -22,9 +22,11 @@ namespace Ryujinx.Common
_cts = new CancellationTokenSource();
_queue = collection;
_workerAction = callback;
- _workerThread = new Thread(DoWork) { Name = name };
-
- _workerThread.IsBackground = true;
+ _workerThread = new Thread(DoWork)
+ {
+ Name = name,
+ IsBackground = true
+ };
_workerThread.Start();
}