Issue Title
serilize Task object will let cpu 100%
General
IDE: VS2019 Community
Version: .net core 3.1
System: both Win10 and Centos 7.5
Framework: ASP.Net Core
public IActionResult test () {
var content = Task.Run (...);// Task object
return new OkObjectResult (new { result = true, reason = "", content });
}
if I use Newtonsoft.Json to serilize the object, it will throw a exception, but if I use the code, It will always lock with there and let CPU 100%