store: fix undefined load call in Buffer.clear

This commit is contained in:
Simon Ser 2021-09-13 10:33:14 +02:00
parent f17d61ed86
commit 9f0177dea0

View File

@ -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 {