mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
fix RedirectHandler NullPointerException, when save-result option is true. close #517
This commit is contained in:
1 parent
7e320084ad
commit
a944f2d4b8
1 file changed
+3
-1
+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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user