andreacavalli
/
JTDLib
Archived
forked from ErnyTech/JTDLib
1
0
Fork 0

Lock write bugfix

This commit is contained in:
Andrea Cavalli 2020-05-13 16:25:19 +02:00
parent 7bedd243c7
commit 87b2fc4870
1 changed files with 1 additions and 1 deletions

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);
}