MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / finalize

Method finalize

java/com/tigervnc/network/TcpSocket.java:123–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 }
122
123 protected void finalize() throws Exception {
124 if (closeFd)
125 try {
126 ((SocketDescriptor)getFd()).close();
127 } catch (IOException e) {
128 throw new Exception(e.getMessage());
129 }
130 }
131
132 public int getMyPort() {
133 return getSockPort();

Callers

nothing calls this directly

Calls 3

closeMethod · 0.65
getFdMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected