forked from ErnyTech/JTDLib
Lock write bugfix
This commit is contained in:
parent
31e464e630
commit
7fc7417fbd
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user