tdweb: bugfix
GitOrigin-RevId: b3678ca211de88e901ffc94f3863c9ded0b05494
This commit is contained in:
parent
666e668163
commit
f4bea9a891
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tdweb",
|
"name": "tdweb",
|
||||||
"version": "1.4.1",
|
"version": "1.4.3",
|
||||||
"description": "Javascript interface for TDLib (telegram library)",
|
"description": "Javascript interface for TDLib (telegram library)",
|
||||||
"main": "dist/tdweb.js",
|
"main": "dist/tdweb.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -415,7 +415,7 @@ class ListNode {
|
|||||||
|
|
||||||
onUsed(other) {
|
onUsed(other) {
|
||||||
other.usedAt = Date.now();
|
other.usedAt = Date.now();
|
||||||
other.clear();
|
other.erase();
|
||||||
other.connect(this.next);
|
other.connect(this.next);
|
||||||
log.debug('LRU: used file_id: ', other.value);
|
log.debug('LRU: used file_id: ', other.value);
|
||||||
this.connect(other);
|
this.connect(other);
|
||||||
|
Reference in New Issue
Block a user