MCPcopy Index your code
hub / github.com/Q16G/memory-shell / closeQuietly

Method closeQuietly

src/main/java/org/example/Socks5Server.java:279–287  ·  view source on GitHub ↗
(SocketChannel channel)

Source from the content-addressed store, hash-verified

277 }
278
279 private void closeQuietly(SocketChannel channel) {
280 try {
281 if (channel != null) {
282 channel.close();
283 }
284 } catch (IOException e) {
285 // 忽略关闭时的异常
286 }
287 }
288}

Callers 1

forwardMethod · 0.95

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected