Update InternalClientManager

This commit is contained in:
Andrea Cavalli 2021-01-24 18:02:00 +01:00
parent b6de3cf3bb
commit bbf7cd9275

View File

@ -1,6 +1,5 @@
package it.tdlight.common;
import it.tdlight.jni.TdApi.Object;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.atomic.AtomicReference;
@ -35,6 +34,9 @@ public class InternalClientManager implements AutoCloseable {
handler.handleEvents(isClosed, clientEventIds, clientEvents);
} else {
System.err.println("Unknown client id " + clientId + ", " + clientEvents.length + " events have been dropped!");
for (Object clientEvent : clientEvents) {
System.err.println(clientEvent);
}
}
if (isClosed) {