mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
fix RedirectHandler NullPointerException, when save-result option is true. close #517
This commit is contained in:
+3
-1
@@ -50,6 +50,8 @@ public class RedirectHandler extends PlainTextHandler implements CloseFunction {
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
out.close();
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user