mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-03-29 23:19:41 -04:00
lib/client: fix batch cleanup
This commit is contained in:
parent
20f20b18df
commit
ba92b3f677
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ export default class Client extends EventTarget {
|
|||
// Delete after firing the message event so that handlers can access
|
||||
// the batch
|
||||
if (deleteBatch) {
|
||||
this.batches.delete(name);
|
||||
this.batches.delete(deleteBatch);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue