提交 5237faa5 authored 作者: Thomas Mueller's avatar Thomas Mueller

Ignore NullPointerException due to unsynchronized serverSocket access.

上级 a5d9564e
...@@ -275,6 +275,8 @@ public class TcpServer implements Service { ...@@ -275,6 +275,8 @@ public class TcpServer implements Service {
serverSocket.close(); serverSocket.close();
} catch (IOException e) { } catch (IOException e) {
TraceSystem.traceThrowable(e); TraceSystem.traceThrowable(e);
} catch (NullPointerException e) {
// ignore
} }
serverSocket = null; serverSocket = null;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论