fix RedirectHandler NullPointerException, when save-result option is true. close #517

This commit is contained in:
hengyunabc
2019-02-18 17:44:04 +08:00
parent 7e320084ad
commit a944f2d4b8
@@ -50,6 +50,8 @@ public class RedirectHandler extends PlainTextHandler implements CloseFunction {
@Override
public void close() {
out.close();
if (out != null) {
out.close();
}
}
}