This commit is contained in:
Redkale
2017-12-08 11:50:12 +08:00
parent e2ab4b20c9
commit b42826692d

View File

@@ -447,7 +447,7 @@ public class HttpResponse extends Response<HttpContext, HttpRequest> {
*/
@SuppressWarnings("unchecked")
public void finishJson(final JsonConvert convert, final HttpResult result) {
if (output == null) {
if (result == null) {
finish("");
return;
}