Update CommonClientManager

This commit is contained in:
Andrea Cavalli 2021-02-03 20:16:46 +01:00
parent e5e4ef35ac
commit e45c88da2a

View File

@ -7,7 +7,7 @@ public abstract class CommonClientManager {
return InternalClientManager.get(implementationName);
}
protected static TelegramClient create(String implementationName) {
protected synchronized static TelegramClient create(String implementationName) {
InternalClient client = new InternalClient(getClientManager(implementationName));
return create(client);
}