potential fix for locking issues
This commit is contained in:
parent
7044ffda79
commit
c0172963d5
1 changed files with 101 additions and 130 deletions
|
|
@ -23,7 +23,7 @@ internal sealed class ControlsServerConnection(
|
|||
Shoot = 0x05
|
||||
}
|
||||
|
||||
protected override ValueTask HandleMessageAsync(Memory<byte> buffer)
|
||||
protected override ValueTask HandleMessageLockedAsync(Memory<byte> buffer)
|
||||
{
|
||||
var type = (MessageType)buffer.Span[0];
|
||||
var control = (InputType)buffer.Span[1];
|
||||
|
|
|
|||
Reference in a new issue