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