mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02: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
1 changed files with 5 additions and 0 deletions
|
@ -84,6 +84,11 @@ public class Node {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void finalize() {
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
private native ResultCode processVirtualNetworkFrame(
|
private native ResultCode processVirtualNetworkFrame(
|
||||||
long nodeId,
|
long nodeId,
|
||||||
long now,
|
long now,
|
||||||
|
|
Loading…
Add table
Reference in a new issue