From 44b81ba59e523e0091caeef887c698fff8650f86 Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Tue, 24 Sep 2024 15:44:13 +0200 Subject: [PATCH] Reset ProxyClient.RequestCommand --- .../HOS/Services/Sockets/Bsd/Impl/ManagedProxySocket.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/ManagedProxySocket.cs b/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/ManagedProxySocket.cs index 90a9131f1f..df66b83f29 100644 --- a/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/ManagedProxySocket.cs +++ b/src/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/ManagedProxySocket.cs @@ -450,6 +450,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl public void Disconnect() { ProxyClient.Disconnect(); + ProxyClient.RequestCommand = 0; } public LinuxError Shutdown(BsdSocketShutdownFlags how) @@ -469,6 +470,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl public void Close() { ProxyClient.Close(); + ProxyClient.RequestCommand = 0; } } }