Skip to content

Commit

Permalink
fix disconnect detection
Browse files Browse the repository at this point in the history
  • Loading branch information
zivillian committed Dec 16, 2018
1 parent 29ca8df commit 494948f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yate/YateClient.Receive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ private void Read()
try
{
var response = reader.ReadLine();
if (response == null) continue;
if (response == null) break;
var parts = response.Split(':');
parts[0] = _serializer.Decode(parts[0]);
switch (parts[0])
Expand Down

0 comments on commit 494948f

Please sign in to comment.