mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-07-01 00:37:37 +00:00
Fix null pointer when no mpcConnectionReporter is set
This commit is contained in:
@ -216,7 +216,7 @@ namespace MpcNET
|
||||
do
|
||||
{
|
||||
responseLine = await reader.ReadLineAsync();
|
||||
this.mpcConnectionReporter.ReadResponse(responseLine, commandText);
|
||||
this.mpcConnectionReporter?.ReadResponse(responseLine, commandText);
|
||||
if (responseLine == null)
|
||||
{
|
||||
break;
|
||||
|
Reference in New Issue
Block a user