修复日志
This commit is contained in:
parent
3ae6920414
commit
189ed2ddb4
@ -63,7 +63,12 @@ namespace FastGithub.UI
|
||||
var length = await taskCompletionSource.Task;
|
||||
|
||||
var json = Encoding.UTF8.GetString(buffer, 0, length);
|
||||
return JsonConvert.DeserializeObject<UdpLog>(json);
|
||||
var log= JsonConvert.DeserializeObject<UdpLog>(json);
|
||||
if (log != null)
|
||||
{
|
||||
log.Message = log.Message.Replace("\"", null);
|
||||
}
|
||||
return log;
|
||||
}
|
||||
|
||||
private static void EndReceiveFrom(IAsyncResult ar)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user