Remove finalizer from Java Client.
This commit is contained in:
parent
132566b393
commit
419a28125b
@ -225,11 +225,6 @@ public final class Client {
|
||||
send(new TdApi.GetOption("version"), null, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
send(new TdApi.Close(), null, null);
|
||||
}
|
||||
|
||||
private static native int createNativeClient();
|
||||
|
||||
private static native void nativeClientSend(int nativeClientId, long eventId, TdApi.Function function);
|
||||
|
Loading…
x
Reference in New Issue
Block a user