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 7bedd243c7
commit 87b2fc4870

View File

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