1
0
forked from ErnyTech/JTDLib

Lock write bugfix

This commit is contained in:
Andrea Cavalli 2020-05-13 16:25:19 +02:00
parent 31e464e630
commit 7fc7417fbd

View File

@ -151,7 +151,7 @@ public class Client implements TelegramClient {
*/ */
@Override @Override
public void destroyClient() { public void destroyClient() {
stampedLockValue = this.executionLock.writeLock(); stampedLockValue = this.executionLock.tryWriteLock();
destroyNativeClient(this.clientId); destroyNativeClient(this.clientId);
} }