store: fix undefined load call in Buffer.clear
This commit is contained in:
parent
f17d61ed86
commit
9f0177dea0
1 changed files with 1 additions and 1 deletions
2
store.js
2
store.js
|
@ -107,7 +107,7 @@ export class Buffer {
|
|||
|
||||
clear(server) {
|
||||
if (server) {
|
||||
for (const buf of this.load(server)) {
|
||||
for (const buf of this.m.values()) {
|
||||
this.m.delete(this.key(buf));
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue