mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-20 17:52:46 +00:00
'finalize()' should not be overridden
this is fine to do because ZeroTierOneService calls close() when it is done
This commit is contained in:
parent
5b5625a6f0
commit
1ab36d891c
@ -125,11 +125,6 @@ public class Node {
|
||||
node_delete(nodeId);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() {
|
||||
close();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Node(" + nodeId + ")";
|
||||
|
Loading…
x
Reference in New Issue
Block a user