store: fix clearing buffers for a specific server

This commit is contained in:
Simon Ser committed 2023-04-04 17:00:05 +02:00
1 parent 5db0105dbd
commit 6c26ee2156
1 file changed
+1 -1
+1 -1
View File
@@ -148,7 +148,7 @@ export class Buffer {
clear(server) {
if (server) {
for (const buf of this.m.values()) {
for (const buf of this.list(server)) {
this.m.delete(this.key(buf));
}
} else {