'finalize()' should not be overridden
this is fine to do because ZeroTierOneService calls close() when it is done
This commit is contained in:
@@ -125,11 +125,6 @@ public class Node {
|
||||
node_delete(nodeId);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() {
|
||||
close();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Node(" + nodeId + ")";
|
||||
|
||||
Reference in New Issue
Block a user