mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-18 08:00:06 +00:00
call close() from the Node class's finalize method
Signed-off-by: Grant Limberg <glimberg@gmail.com>
This commit is contained in:
parent
bd4049fdc0
commit
e0c8ddb65b
@ -84,6 +84,11 @@ public class Node {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() {
|
||||
close();
|
||||
}
|
||||
|
||||
private native ResultCode processVirtualNetworkFrame(
|
||||
long nodeId,
|
||||
long now,
|
||||
|
Loading…
x
Reference in New Issue
Block a user