more Lock

This commit is contained in:
Marco Carvalho
2024-12-14 12:01:05 -03:00
committed by Evan Husted
parent 2f9f07596e
commit bd69dbe2ee
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
using Ryujinx.HLE.HOS.Services.SurfaceFlinger.Types;
using System;
using System.Threading;
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
@@ -23,7 +24,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
protected BufferQueueConsumer Consumer;
protected readonly object Lock = new();
protected readonly Lock Lock = new();
private readonly IConsumerListener _listener;