mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
code style
This commit is contained in:
@@ -17,7 +17,6 @@ internal sealed partial class PrivateNamedPipeClient : IDisposable
|
||||
{
|
||||
if (clientStream.TryConnectOnce())
|
||||
{
|
||||
Span<byte> headerSpan = stackalloc byte[sizeof(PipePacketHeader)];
|
||||
bool serverElevated = false;
|
||||
{
|
||||
// Connect
|
||||
@@ -31,6 +30,7 @@ internal sealed partial class PrivateNamedPipeClient : IDisposable
|
||||
|
||||
{
|
||||
// Get previous instance elevated status
|
||||
Span<byte> headerSpan = stackalloc byte[sizeof(PipePacketHeader)];
|
||||
clientStream.ReadExactly(headerSpan);
|
||||
fixed (byte* pHeader = headerSpan)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user