misc: chore: Fix object creation

This commit is contained in:
KeatonTheBot
2025-09-24 13:44:00 -05:00
parent 378dc33cca
commit 1f979e5c6f
42 changed files with 303 additions and 304 deletions
+3 -3
View File
@@ -28,11 +28,11 @@ namespace Ryujinx.HLE.Debugger
private Socket ClientSocket = null;
private NetworkStream ReadStream = null;
private NetworkStream WriteStream = null;
private BlockingCollection<IMessage> Messages = new BlockingCollection<IMessage>(1);
private BlockingCollection<IMessage> Messages = new(1);
private Thread DebuggerThread;
private Thread MessageHandlerThread;
private bool _shuttingDown = false;
private ManualResetEventSlim _breakHandlerEvent = new ManualResetEventSlim(false);
private ManualResetEventSlim _breakHandlerEvent = new(false);
private ulong? cThread;
private ulong? gThread;
@@ -259,7 +259,7 @@ namespace Ryujinx.HLE.Debugger
private void ProcessCommand(string cmd)
{
StringStream ss = new StringStream(cmd);
StringStream ss = new(cmd);
switch (ss.ReadChar())
{