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

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