streamline DcContext finalize

This commit is contained in:
B. Petersen
2023-10-01 16:49:57 +02:00
committed by bjoern
parent 1966238355
commit 922f0dab1e
-4
View File
@@ -102,10 +102,6 @@ public class DcContext {
@Override
protected void finalize() throws Throwable {
super.finalize();
unref();
}
public void unref() {
if (contextCPtr != 0) {
unrefContextCPtr();
contextCPtr = 0;